aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2013-03-17 00:18:10 +0100
committerThomas White <taw@physics.org>2013-03-17 00:18:10 +0100
commite170dd8566db74784b457114ba8090982939411a (patch)
treee6acf92004145576ceaedcc8753237bdfe3fe90c
parentf75c87ec2d957a440c42bd4e047b0c331682e344 (diff)
Fix race condition in reader thread
I'm not sure what this line was doing. Hopefully just a "brain fart" from before.
-rw-r--r--src/im-sandbox.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/im-sandbox.c b/src/im-sandbox.c
index 03c553b7..d1230f0c 100644
--- a/src/im-sandbox.c
+++ b/src/im-sandbox.c
@@ -318,7 +318,6 @@ static int pump_chunk(FILE *fh, int ofd)
lwrite(ofd, line);
if ( strcmp(line, CHUNK_END_MARKER"\n") == 0 ) break;
- if ( strcmp(line, CHUNK_START_MARKER"\n") == 0 ) break;
} while ( 1 );
return 0;