X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Frrd_xport.c;h=063982ebcf11e2d998db3206802562732d5d4382;hb=252efcd3f319d99dbf700aa4d53da8945dc8725f;hp=d92afb1afe6d88b84aa1f08c7119414a153a5553;hpb=56d67cdd0c5b2c27c9242a3d5810c7184917f663;p=rrdtool.git diff --git a/src/rrd_xport.c b/src/rrd_xport.c index d92afb1..063982e 100644 --- a/src/rrd_xport.c +++ b/src/rrd_xport.c @@ -1,5 +1,5 @@ /**************************************************************************** - * RRDtool 1.4.0 Copyright by Tobi Oetiker, 1997-2009 + * RRDtool 1.4.3 Copyright by Tobi Oetiker, 1997-2010 **************************************************************************** * rrd_xport.c export RRD data ****************************************************************************/ @@ -286,7 +286,7 @@ int rrd_xport_fn( free(step_list); *start = im->start - im->start % (*step); - *end = im->end - im->end % (*step); + *end = im->end - im->end % (*step) + (*step); /* room for rearranged data */