mirror of
https://github.com/curl/curl.git
synced 2026-07-24 12:27:16 +03:00
curl: --local-port fix followup
Regression by 52db54869e.
Reported-by: infinnovation-dev on github
Fixes #3248
Closes #3249
This commit is contained in:
parent
08b1a851cc
commit
f859b05c66
1 changed files with 1 additions and 1 deletions
|
|
@ -943,8 +943,8 @@ ParameterError getparameter(const char *flag, /* f or -long-flag */
|
|||
p++;
|
||||
if(*p) {
|
||||
/* if there's anything more than a plain decimal number */
|
||||
*p++ = 0;
|
||||
rc = sscanf(p, " - %6s", lrange);
|
||||
*p = 0; /* zero terminate to make str2unum() work below */
|
||||
}
|
||||
else
|
||||
rc = 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue