projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8d0b725
)
src/common.c: parse_value: Quote string that failed to parse.
author
Florian Forster
<octo@collectd.org>
Fri, 2 Sep 2016 08:48:08 +0000
(10:48 +0200)
committer
Florian Forster
<octo@collectd.org>
Fri, 2 Sep 2016 08:48:08 +0000
(10:48 +0200)
Issue: #1905
src/common.c
patch
|
blob
|
history
diff --git
a/src/common.c
b/src/common.c
index
4da8fee
..
b00c8bd
100644
(file)
--- a/
src/common.c
+++ b/
src/common.c
@@
-1083,7
+1083,7
@@
int parse_value (const char *value_orig, value_t *ret_value, int ds_type)
}
if (value == endptr) {
- ERROR ("parse_value: Failed to parse string as %s:
%s
.",
+ ERROR ("parse_value: Failed to parse string as %s:
\"%s\"
.",
DS_TYPE_TO_STRING (ds_type), value);
sfree (value);
return -1;