From adc7046fad284f828118b7190b267db0a4618431 Mon Sep 17 00:00:00 2001 From: Sebastian Harl Date: Sat, 22 Mar 2008 17:21:45 +0100 Subject: [PATCH] utils_cmd_flush.c: Terminate all lines printed to the socket with a newline. Signed-off-by: Sebastian Harl Signed-off-by: Florian Forster --- src/utils_cmd_flush.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils_cmd_flush.c b/src/utils_cmd_flush.c index 6832493c..c214d074 100644 --- a/src/utils_cmd_flush.c +++ b/src/utils_cmd_flush.c @@ -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); -- 2.11.0