From: Sebastian Harl Date: Sat, 22 Mar 2008 16:21:45 +0000 (+0100) Subject: utils_cmd_flush.c: Terminate all lines printed to the socket with a newline. X-Git-Tag: collectd-4.4.0~75 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=adc7046fad284f828118b7190b267db0a4618431;p=collectd.git utils_cmd_flush.c: Terminate all lines printed to the socket with a newline. Signed-off-by: Sebastian Harl Signed-off-by: Florian Forster --- 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);