Code

utils_cmd_*: Terminate all lines printed to the socket with newline.
[collectd.git] / src / utils_cmd_putnotif.c
index 0282e4e2027318c2f9906c6387d20c3ef496438d..18c1eceedff4f834d5dc196f906bc2426ce18b34 100644 (file)
@@ -133,7 +133,7 @@ int handle_putnotif (FILE *fh, char **fields, int fields_num)
       status = parse_option (&n, fields[i]);
       if (status != 0)
       {
-       fprintf (fh, "-1 Error parsing option `%s'", fields[i]);
+       fprintf (fh, "-1 Error parsing option `%s'\n", fields[i]);
        break;
       }
     }