mirror of
https://github.com/curl/curl.git
synced 2026-06-19 02:25:39 +03:00
hm, an unknown error from bind() when binding the outgoing socket would
failf("%d") without the error as argument... it would always make a weird
number get output
This commit is contained in:
parent
e719f4169c
commit
7b5b60d275
1 changed files with 3 additions and 2 deletions
|
|
@ -279,8 +279,9 @@ static CURLcode bindlocal(struct connectdata *conn,
|
|||
failf(data, "Insufficient kernel memory was available: %d", errno);
|
||||
break;
|
||||
default:
|
||||
failf(data,"errno %d\n");
|
||||
} /* end of switch */
|
||||
failf(data, "errno %d\n", errno);
|
||||
break;
|
||||
} /* end of switch(errno) */
|
||||
|
||||
return CURLE_HTTP_PORT_FAILED;
|
||||
} /* end of else */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue