X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Frrd_xport.c;h=2b161ebcd43bfcd62dbb48932f18823742d75af7;hb=0f399ee8cbe875b2831ea2870e60ee17800d811d;hp=95bf35b67fb431d6fa259df48c9eb72c99730461;hpb=0209ff81818995fcd2e2b7080c0ca504fa14d949;p=rrdtool.git diff --git a/src/rrd_xport.c b/src/rrd_xport.c index 95bf35b..2b161eb 100644 --- a/src/rrd_xport.c +++ b/src/rrd_xport.c @@ -1,5 +1,5 @@ /**************************************************************************** - * RRDtool 1.0.37 Copyright Tobias Oetiker, 1997 - 2000 + * RRDtool 1.2rc2 Copyright by Tobi Oetiker, 1997-2005 **************************************************************************** * rrd_xport.c export RRD data ****************************************************************************/ @@ -116,7 +116,8 @@ rrd_xport(int argc, char **argv, int *xsize, im.start = start_tmp; im.end = end_tmp; - + im.step = max((long)im.step, (im.end-im.start)/im.xsize); + rrd_graph_script(argc,argv,&im,0); if (rrd_test_error()) { im_free(&im);