X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Frrd_xport.c;h=558628188c534d762ea092991d0230d17f503cac;hb=9bd31998dca452615148d9e618118aee2a0d2dff;hp=b3cc970fcf164143cfbb7d481efad69ab4f199ca;hpb=2a9b0ff9cf29cf82b7b12ea80889c59273d66008;p=rrdtool.git diff --git a/src/rrd_xport.c b/src/rrd_xport.c index b3cc970..5586281 100644 --- a/src/rrd_xport.c +++ b/src/rrd_xport.c @@ -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 */