summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: d3db12b)
raw | patch | inline | side by side (parent: d3db12b)
author | Florian Forster <octo@collectd.org> | |
Fri, 22 May 2015 09:29:12 +0000 (11:29 +0200) | ||
committer | Florian Forster <octo@collectd.org> | |
Fri, 22 May 2015 09:29:12 +0000 (11:29 +0200) |
src/write_redis.c | patch | blob | history |
diff --git a/src/write_redis.c b/src/write_redis.c
index 09aae7028d24505a6f3cb372860b8eafb8d20a1e..f20901677aa3e72b136a9955a11d69541288090b 100644 (file)
--- a/src/write_redis.c
+++ b/src/write_redis.c
} \
} while (0)
- APPEND ("%lu:", (unsigned long) vl->time);
+ APPEND ("%.3f:", CDTIME_T_TO_DOUBLE (vl->time));
for (i = 0; i < ds->ds_num; i++)
{
if (ds->ds[i].type == DS_TYPE_COUNTER)