1
0
mirror of https://github.com/moparisthebest/curl synced 2025-03-01 01:41:50 -05:00

fixed the option parser to not loop when a long option is specified

This commit is contained in:
Daniel Stenberg 2001-11-30 09:26:06 +00:00
parent 10717bd39b
commit 07c67138c9

View File

@ -1464,7 +1464,7 @@ static ParameterError getparameter(char *flag, /* f or -long-flag */
}
hit = -1;
} while(!singleopt && *++parse && !*usedarg);
} while(!longopt && !singleopt && *++parse && !*usedarg);
return PARAM_OK;
}