Unverified Commit f859b05c authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

curl: --local-port fix followup

Regression by 52db5486.

Reported-by: infinnovation-dev on github
Fixes #3248
Closes #3249
parent 08b1a851
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;