utils_cmd_flush.c: Terminate all lines printed to the socket with a newline.
authorSebastian Harl <sh@tokkee.org>
Sat, 22 Mar 2008 16:21:45 +0000 (17:21 +0100)
committerFlorian Forster <octo@huhu.verplant.org>
Mon, 24 Mar 2008 10:59:33 +0000 (11:59 +0100)
Signed-off-by: Sebastian Harl <sh@tokkee.org>
Signed-off-by: Florian Forster <octo@huhu.verplant.org>
src/utils_cmd_flush.c

index 6832493..c214d07 100644 (file)
@@ -118,7 +118,7 @@ int handle_flush (FILE *fh, char **fields, int fields_num)
        else
        {
                plugin_flush_all (fi.timeout);
-               fprintf (fh, "0 Done");
+               fprintf (fh, "0 Done\n");
        }
        fflush (fh);