X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Frrd_tune.c;h=f61e8c5cdc21a6b237c737bda0eea1e9e44163e2;hb=3cd42d089914e0f63f97aa0369e674c7c19115cf;hp=793769cb6c1c267d243b547bc12c1e66d13c1f96;hpb=6c5e7f32e3052259aa5e14053cb4bab04346ea94;p=rrdtool.git diff --git a/src/rrd_tune.c b/src/rrd_tune.c index 793769c..f61e8c5 100644 --- a/src/rrd_tune.c +++ b/src/rrd_tune.c @@ -1,5 +1,5 @@ /***************************************************************************** - * RRDtool 1.2rc6 Copyright by Tobi Oetiker, 1997-2005 + * RRDtool 1.2.16 Copyright by Tobi Oetiker, 1997-2006 ***************************************************************************** * change header parameters of an rrd ***************************************************************************** @@ -61,6 +61,7 @@ rrd_tune(int argc, char **argv) double min; double max; char dst[DST_SIZE]; + optind = 0; opterr = 0; /* initialize getopt */ if(rrd_open(argv[1],&rrd_file,&rrd, RRD_READWRITE)==-1){