utils_cmd_*: Terminate all lines printed to the socket with newline.
[collectd.git] / src / utils_cmd_putnotif.c
index 0282e4e..18c1ece 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;
       }
     }