X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Fwrite_redis.c;h=b4c5e212e300e83a5d5de5d060f02c0940d9b70c;hb=eea01a8f212634414a21462ba79dc058dc5fb304;hp=b47650d178149bdc2d3342d669afaf9c2cf94d4c;hpb=28f4914d1727c7a5a0dbace945c3b1fadbb0bc91;p=collectd.git diff --git a/src/write_redis.c b/src/write_redis.c index b47650d1..b4c5e212 100644 --- a/src/write_redis.c +++ b/src/write_redis.c @@ -88,8 +88,7 @@ static int wr_write (const data_set_t *ds, /* {{{ */ } \ } while (0) - APPEND (time); - APPEND (":"); + APPEND ("%s:", time); for (i = 0; i < ds->ds_num; i++) {