diff options
author | jani@rhols221.adsl.netsonic.fi <> | 2003-11-24 13:25:08 +0200 |
---|---|---|
committer | jani@rhols221.adsl.netsonic.fi <> | 2003-11-24 13:25:08 +0200 |
commit | b137384a38c938fd92416050d478187668aa38b1 (patch) | |
tree | 4ddad1dbc6d41bfb3dd2643231249277887dbe1c /mysys | |
parent | 5dca5c7d53da389c740971780d1410a19471c1f9 (diff) | |
download | mariadb-git-b137384a38c938fd92416050d478187668aa38b1.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')
-rw-r--r-- | mysys/my_getopt.c | 2 |
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) { |