From ce78f94b0cc7e9deb10c0f56c72aa70066b1e584 Mon Sep 17 00:00:00 2001 From: Florian Forster Date: Sun, 22 Mar 2009 11:42:31 +0100 Subject: [PATCH] src/utils_cmd_putval.c: Add a missing newline ... ... when printing to the socket. --- src/utils_cmd_putval.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); } -- 2.30.2