X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Frrd_create.c;h=95dbc143ed035c4ea7e053628e49bdd8998bd4e2;hb=d1fe50003e73e2772e9026f29c0ba658143dec7a;hp=90c38d338e9056d57e91f2152c9fc5cf0562d3cc;hpb=f1d2d0fe8cd9a70dbe77e6523df45c856a1cc88b;p=rrdtool.git diff --git a/src/rrd_create.c b/src/rrd_create.c index 90c38d3..95dbc14 100644 --- a/src/rrd_create.c +++ b/src/rrd_create.c @@ -1,5 +1,5 @@ /***************************************************************************** - * RRDtool 1.1.x Copyright Tobias Oetiker, 1997 - 2002 + * RRDtool 1.2.0 Copyright by Tobi Oetiker, 1997-2005 ***************************************************************************** * rrd_create.c creates new rrds *****************************************************************************/ @@ -23,6 +23,7 @@ rrd_create(int argc, char **argv) char *parsetime_error = NULL; long long_tmp; int rc; + optind = 0; opterr = 0; /* initialize getopt */ while (1){ static struct option long_options[] =