From: Florian Forster Date: Thu, 24 Jul 2008 12:05:21 +0000 (+0200) Subject: rrdcached plugin: Separate values by colon, not comma. X-Git-Tag: collectd-4.6.0~204 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=b108e8e032a48a8c0d1f02f01a6141fece6262ec;p=collectd.git rrdcached plugin: Separate values by colon, not comma. What was I thinking? --- diff --git a/src/rrdcached.c b/src/rrdcached.c index ab2484b0..7b2cb6a4 100644 --- a/src/rrdcached.c +++ b/src/rrdcached.c @@ -79,12 +79,12 @@ static int value_list_to_string (char *buffer, int buffer_len, 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)))