X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;ds=sidebyside;f=src%2Frrd_create.c;h=95dbc143ed035c4ea7e053628e49bdd8998bd4e2;hb=d1fe50003e73e2772e9026f29c0ba658143dec7a;hp=bb32a3ec062f99b7ec4a0be6674e0afb0cd7c4d8;hpb=35f5945e114df7324be00de01bcde77e096a2373;p=rrdtool.git diff --git a/src/rrd_create.c b/src/rrd_create.c index bb32a3e..95dbc14 100644 --- a/src/rrd_create.c +++ b/src/rrd_create.c @@ -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[] =