projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4da9a97
)
libcollectdclient: Fixed handling of ‘U’ (undef) in ‘PUTVAL’.
author
Sebastian Harl
<sh@tokkee.org>
Mon, 9 Aug 2010 20:03:02 +0000
(22:03 +0200)
committer
Sebastian Harl
<sh@tokkee.org>
Mon, 9 Aug 2010 20:03:02 +0000
(22:03 +0200)
src/libcollectdclient/client.c
patch
|
blob
|
history
diff --git
a/src/libcollectdclient/client.c
b/src/libcollectdclient/client.c
index
0c748ba
..
75ac7b6
100644
(file)
--- a/
src/libcollectdclient/client.c
+++ b/
src/libcollectdclient/client.c
@@
-788,7
+788,7
@@
int lcc_putval (lcc_connection_t *c, const lcc_value_list_t *vl) /* {{{ */
else if (vl->values_types[i] == LCC_TYPE_GAUGE)
{
if (isnan (vl->values[i].gauge))
- SSTRC
PY
(command, ":U");
+ SSTRC
ATF
(command, ":U");
else
SSTRCATF (command, ":%g", vl->values[i].gauge);
}