API : iterator get and set position
[babeltrace.git] / formats / ctf-text / ctf-text.c
index 81dbb3eb159ef0b423ea09696c086726ce5272f7..facfe57e9da203084795d19db507d3e4386e5c62 100644 (file)
@@ -387,6 +387,7 @@ int ctf_text_write_event(struct stream_pos *ppos,
        /* newline */
        fprintf(pos->fp, "\n");
        pos->field_nr = 0;
+       stream->consumed = 1;
 
        return 0;
 
This page took 0.022873 seconds and 4 git commands to generate.