X-Git-Url: https://git.octo.it/?p=rrdtool.git;a=blobdiff_plain;f=src%2Frrd_xport.c;h=19c2067a23dc2d654672b6953c2e336e3268551d;hp=2a0bf7605d5b294617f3718ba4f9f877ab1c4128;hb=705c8b1988cda51a6d8d34215e3fbf3c12a9aa2a;hpb=b35805403e2bd0ec6b6c862ce8883255203ab0b7;ds=sidebyside diff --git a/src/rrd_xport.c b/src/rrd_xport.c index 2a0bf76..19c2067 100644 --- a/src/rrd_xport.c +++ b/src/rrd_xport.c @@ -46,6 +46,7 @@ rrd_xport(int argc, char **argv, int *xsize, time_t start_tmp=0,end_tmp=0; struct rrd_time_value start_tv, end_tv; char *parsetime_error = NULL; + optind = 0; opterr = 0; /* initialize getopt */ rrd_graph_init(&im);