X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;ds=sidebyside;f=program%2Fsrc%2Frrd_first.c;h=7eabf367f86ae001f8ce507b86e8e2e8fb75eced;hb=bd07d8ee54bcbe2c5e09f84be962ca76bb6810f3;hp=70aa1e124738729dafa449f10297164c11a114bb;hpb=1ea4ec98454578059cf98abaea75e40a0e9e2fa1;p=rrdtool-all.git diff --git a/program/src/rrd_first.c b/program/src/rrd_first.c index 70aa1e12..7eabf367 100644 --- a/program/src/rrd_first.c +++ b/program/src/rrd_first.c @@ -1,5 +1,5 @@ /***************************************************************************** - * RRDtool 1.2rc9 Copyright by Tobi Oetiker, 1997-2005 + * RRDtool 1.2.13 Copyright by Tobi Oetiker, 1997-2006 ***************************************************************************** * rrd_first Return ***************************************************************************** @@ -14,6 +14,7 @@ rrd_first(int argc, char **argv) { int target_rraindex=0; char *endptr; + optind = 0; opterr = 0; /* initialize getopt */ while (1){ static struct option long_options[] =