From: Florian Forster Date: Sun, 22 Mar 2009 10:42:31 +0000 (+0100) Subject: src/utils_cmd_putval.c: Add a missing newline ... X-Git-Tag: collectd-4.7.0~94 X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=ce78f94b0cc7e9deb10c0f56c72aa70066b1e584;p=collectd.git src/utils_cmd_putval.c: Add a missing newline ... ... when printing to the socket. --- diff --git a/src/utils_cmd_putval.c b/src/utils_cmd_putval.c index be09185e..826e1b03 100644 --- a/src/utils_cmd_putval.c +++ b/src/utils_cmd_putval.c @@ -1,6 +1,6 @@ /** * collectd - src/utils_cms_putval.c - * Copyright (C) 2007,2008 Florian octo Forster + * Copyright (C) 2007-2009 Florian octo Forster * * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License as published by the @@ -69,7 +69,7 @@ static int dispatch_values (const data_set_t *ds, value_list_t *vl, vl->values[i].gauge = NAN; else if (0 != parse_value (ptr, &vl->values[i], ds->ds[i])) { - print_to_socket (fh, "-1 Failed to parse value `%s'.", ptr); + print_to_socket (fh, "-1 Failed to parse value `%s'.\n", ptr); return (-1); }