author | Ruben Kerkhof <ruben@rubenkerkhof.com> | |
Wed, 6 Apr 2016 18:10:23 +0000 (20:10 +0200) | ||
committer | Ruben Kerkhof <ruben@rubenkerkhof.com> | |
Wed, 6 Apr 2016 18:10:23 +0000 (20:10 +0200) |
Suppress spammy debug messages of #664
src/utils_cmd_putval.c | patch | blob | history |
diff --git a/src/utils_cmd_putval.c b/src/utils_cmd_putval.c
index 69af2e4ae97c663fcecae4bd5ffe884cd658e09a..009ab3dc07812ef4a3472445195f762522eee91d 100644 (file)
--- a/src/utils_cmd_putval.c
+++ b/src/utils_cmd_putval.c
} /* while (*buffer != 0) */
/* Done parsing the options. */
- print_to_socket (fh, "0 Success: %i %s been dispatched.\n",
+ if (fh!=stdout)
+ print_to_socket (fh, "0 Success: %i %s been dispatched.\n",
values_submitted,
(values_submitted == 1) ? "value has" : "values have");