projects
/
rrdtool.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
misc fixed and TREND and reduce functionality by
[rrdtool.git]
/
src
/
rrd_xport.c
diff --git
a/src/rrd_xport.c
b/src/rrd_xport.c
index
95bf35b
..
3ba1b52
100644
(file)
--- a/
src/rrd_xport.c
+++ b/
src/rrd_xport.c
@@
-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);