From: Tobias Oetiker Date: Thu, 19 Jan 2017 14:21:12 +0000 (+0100) Subject: attempt to fix #763 X-Git-Tag: v1.7.0~15 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=18a9aed7f31e23bb3e4232306fee66afe89a7da4;p=thirdparty%2Frrdtool-1.x.git attempt to fix #763 --- diff --git a/src/rrd_graph.h b/src/rrd_graph.h index b64949a5..be896ec4 100644 --- a/src/rrd_graph.h +++ b/src/rrd_graph.h @@ -46,7 +46,7 @@ #define NO_RRDTOOL_TAG 0x400 /* disable the rrdtool tag */ #define ALLOW_MISSING_DS 0x800 /* missing DS is not fatal */ -#define gdes_fetch_key(x) sprintf_alloc("%s:%s:%d:%d:%d:%d",x.rrd,x.daemon,x.cf,x.cf_reduce,x.start_orig,x.end_orig,x.step_orig) +#define gdes_fetch_key(x) sprintf_alloc("%s:%s:%d:%d:%d:%d:%d",x.rrd,x.daemon,x.cf,x.cf_reduce,x.start_orig,x.end_orig,x.step_orig,x.step) enum tmt_en { TMT_SECOND = 0, TMT_MINUTE, TMT_HOUR, TMT_DAY, TMT_WEEK, TMT_MONTH, TMT_YEAR