summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 44bbeb5)
raw | patch | inline | side by side (parent: 44bbeb5)
author | Florian Forster <octo@leeloo.lan.home.verplant.org> | |
Thu, 24 Jul 2008 12:05:21 +0000 (14:05 +0200) | ||
committer | Florian Forster <octo@leeloo.lan.home.verplant.org> | |
Thu, 24 Jul 2008 12:05:21 +0000 (14:05 +0200) |
What was I thinking?
src/rrdcached.c | patch | blob | history |
diff --git a/src/rrdcached.c b/src/rrdcached.c
index ab2484b0d59ccc43c975dfa7d4f5383a763bfb95..7b2cb6a40f3096beca80fe93a3d0eeeb26f9efed 100644 (file)
--- a/src/rrdcached.c
+++ b/src/rrdcached.c
if (ds->ds[i].type == DS_TYPE_COUNTER)
{
status = ssnprintf (buffer + offset, buffer_len - offset,
- ",%llu", vl->values[i].counter);
+ ":%llu", vl->values[i].counter);
}
else /* if (ds->ds[i].type == DS_TYPE_GAUGE) */
{
status = ssnprintf (buffer + offset, buffer_len - offset,
- ",%lf", vl->values[i].gauge);
+ ":%lf", vl->values[i].gauge);
}
if ((status < 1) || (status >= (buffer_len - offset)))