projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d3db12b
)
write_redis: Fix timestamp sent to Redis.
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
09aae70
..
f209016
100644
(file)
--- a/
src/write_redis.c
+++ b/
src/write_redis.c
@@
-84,7
+84,7
@@
static int wr_write (const data_set_t *ds, /* {{{ */
} \
} 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)