Commit 5281f34e authored by unknown's avatar unknown

Fixed Bug#1907, option of type GET_BOOL with arg type OPT_ARG

did not call get_one_option().

parent c61d96d5
...@@ -316,8 +316,6 @@ int handle_options(int *argc, char ***argv, ...@@ -316,8 +316,6 @@ int handle_options(int *argc, char ***argv,
else /* If argument differs from 0, enable option, else disable */ else /* If argument differs from 0, enable option, else disable */
*((my_bool*) optp->value)= (my_bool) atoi(optend) != 0; *((my_bool*) optp->value)= (my_bool) atoi(optend) != 0;
} }
(*argc)--;
continue;
} }
else if (optp->arg_type == REQUIRED_ARG && !optend) else if (optp->arg_type == REQUIRED_ARG && !optend)
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment