aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel/src/stream.c
diff options
context:
space:
mode:
Diffstat (limited to 'libcrystfel/src/stream.c')
-rw-r--r--libcrystfel/src/stream.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libcrystfel/src/stream.c b/libcrystfel/src/stream.c
index 692a860a..3c10c543 100644
--- a/libcrystfel/src/stream.c
+++ b/libcrystfel/src/stream.c
@@ -563,6 +563,7 @@ int is_stream(const char *filename)
void write_line(Stream *st, const char *line)
{
fprintf(st->fh, "%s\n", line);
+ fflush(st->fh);
}