From b108e8e032a48a8c0d1f02f01a6141fece6262ec Mon Sep 17 00:00:00 2001 From: Florian Forster Date: Thu, 24 Jul 2008 14:05:21 +0200 Subject: [PATCH] rrdcached plugin: Separate values by colon, not comma. What was I thinking? --- src/rrdcached.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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))) -- 2.30.2