degesch: properly flush the read marker

This commit is contained in:
Přemysl Eric Janouch 2015-08-10 00:09:43 +02:00
parent 7225b68f74
commit 628facf286

View File

@ -3100,6 +3100,8 @@ buffer_print_read_marker (struct app_context *ctx)
formatter_init (&f, ctx, NULL);
formatter_add (&f, "#a-- -- -- ---\n", ATTR_READ_MARKER);
formatter_flush (&f, stdout, false);
// Flush the trailing formatting reset item
fflush (stdout);
formatter_free (&f);
}