only draw the new type of marker in the graph legend when called with --dynamic-label...
[rrdtool.git] / src / rrd_xport.c
index b3cc970..5586281 100644 (file)
@@ -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 */