summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 4da9a97)
raw | patch | inline | side by side (parent: 4da9a97)
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 |
index 0c748ba7fa47e3b30f1d2a8d5c30dffdfd70d3e3..75ac7b6da0b96c1d901007ab8dd1f2d4c0470e06 100644 (file)
else if (vl->values_types[i] == LCC_TYPE_GAUGE)
{
if (isnan (vl->values[i].gauge))
- SSTRCPY (command, ":U");
+ SSTRCATF (command, ":U");
else
SSTRCATF (command, ":%g", vl->values[i].gauge);
}