X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Frrd_xport.c;h=558628188c534d762ea092991d0230d17f503cac;hb=e3e38675dd28f4573c144b8aecc1a30ef6c7362f;hp=6697195d74b43fd577fd844d3532c2761af1b743;hpb=ce30e9e1379022835687aa08b7712e27372e05ec;p=rrdtool.git diff --git a/src/rrd_xport.c b/src/rrd_xport.c index 6697195..5586281 100644 --- a/src/rrd_xport.c +++ b/src/rrd_xport.c @@ -1,5 +1,5 @@ /**************************************************************************** - * RRDtool 1.4.1 Copyright by Tobi Oetiker, 1997-2009 + * RRDtool 1.4.2 Copyright by Tobi Oetiker, 1997-2009 **************************************************************************** * 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 */