X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Futils_cmd_putval.c;h=826e1b0390fb53dbb7944a96bc5a29616edfded7;hb=bf90793e82989b1c36fe8f3b66b9c9fe05c9532d;hp=be09185ee1c3cb6ee14fa2bde688af23a942b17b;hpb=04b395325b152a5ddf424d1a750f455a2f8229fb;p=collectd.git 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); }