X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=program%2Fsrc%2Frrd_fetch.c;h=9bcaeb18f6978a0653019e401aed7528bed9f57c;hb=19f6fee5efa0293c156402847a76675cdcda7b25;hp=a7998863065cc5945a791273a44860a3912a849d;hpb=33f6fbb2573af9e281e5af721324e49709e051cc;p=rrdtool-all.git diff --git a/program/src/rrd_fetch.c b/program/src/rrd_fetch.c index a7998863..9bcaeb18 100644 --- a/program/src/rrd_fetch.c +++ b/program/src/rrd_fetch.c @@ -1,5 +1,5 @@ /***************************************************************************** - * RRDtool 1.2rc6 Copyright by Tobi Oetiker, 1997-2005 + * RRDtool 1.2.11 Copyright by Tobi Oetiker, 1997-2005 ***************************************************************************** * rrd_fetch.c read date from an rrd to use for further processing ***************************************************************************** @@ -75,6 +75,7 @@ rrd_fetch(int argc, struct rrd_time_value start_tv, end_tv; char *parsetime_error = NULL; + optind = 0; opterr = 0; /* initialize getopt */ /* init start and end time */ parsetime("end-24h", &start_tv);