diff options
author | unknown <jani@rhols221.adsl.netsonic.fi> | 2003-11-24 13:25:23 +0200 |
---|---|---|
committer | unknown <jani@rhols221.adsl.netsonic.fi> | 2003-11-24 13:25:23 +0200 |
commit | 8b0ba59c41b8bc873a6b6cb8f7abffad9f68d9ed (patch) | |
tree | f0ab52ffd78402ea15555faae58aceabac0f8d24 /mysys | |
parent | c6311f86730475da2f7b32f9a48af9687d1056ad (diff) | |
download | mariadb-git-8b0ba59c41b8bc873a6b6cb8f7abffad9f68d9ed.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 830c62b349b..76f8f6bf852 100644 --- a/mysys/my_getopt.c +++ b/mysys/my_getopt.c @@ -330,8 +330,6 @@ int handle_options(int *argc, char ***argv, else /* If argument differs from 0, enable option, else disable */ *((my_bool*) value)= (my_bool) atoi(optend) != 0; } - (*argc)--; - continue; } else if (optp->arg_type == REQUIRED_ARG && !optend) { |