summaryrefslogtreecommitdiff
path: root/mysys/my_getopt.c
diff options
context:
space:
mode:
authorunknown <jani@rhols221.adsl.netsonic.fi>2003-11-24 13:25:08 +0200
committerunknown <jani@rhols221.adsl.netsonic.fi>2003-11-24 13:25:08 +0200
commit5281f34e6471af78526860442a2e38a07845e27f (patch)
tree4ddad1dbc6d41bfb3dd2643231249277887dbe1c /mysys/my_getopt.c
parentc61d96d5baf8bb1d11502552a24cfca743e41419 (diff)
downloadmariadb-git-5281f34e6471af78526860442a2e38a07845e27f.tar.gz
Fixed Bug#1907, option of type GET_BOOL with arg type OPT_ARG
did not call get_one_option().
Diffstat (limited to 'mysys/my_getopt.c')
-rw-r--r--mysys/my_getopt.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/mysys/my_getopt.c b/mysys/my_getopt.c
index 5644d81837d..662e33a3a5a 100644
--- a/mysys/my_getopt.c
+++ b/mysys/my_getopt.c
@@ -316,8 +316,6 @@ int handle_options(int *argc, char ***argv,
else /* If argument differs from 0, enable option, else disable */
*((my_bool*) optp->value)= (my_bool) atoi(optend) != 0;
}
- (*argc)--;
- continue;
}
else if (optp->arg_type == REQUIRED_ARG && !optend)
{