aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/im-sandbox.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/im-sandbox.c b/src/im-sandbox.c
index a1fab497..8aee7408 100644
--- a/src/im-sandbox.c
+++ b/src/im-sandbox.c
@@ -506,6 +506,9 @@ static int pump_chunk(FILE *fh, int ofd)
if ( strcmp(line, "FLUSH\n") == 0 ) break;
lwrite(ofd, line);
+ if ( strcmp(line, STREAM_CHUNK_START_MARKER"\n") == 0 ) {
+ chunk_started = 1;
+ }
if ( strcmp(line, STREAM_CHUNK_END_MARKER"\n") == 0 ) break;
} while ( 1 );