mirror of
https://github.com/moparisthebest/curl
synced 2024-08-13 17:03:50 -04:00
switch() on the right variable!
This commit is contained in:
parent
bd04c6fb67
commit
fe6f0aeb26
@ -354,7 +354,7 @@ static CURLcode bindlocal(struct connectdata *conn,
|
|||||||
#endif
|
#endif
|
||||||
if(!bindworked) {
|
if(!bindworked) {
|
||||||
int err = Curl_ourerrno();
|
int err = Curl_ourerrno();
|
||||||
switch(errno) {
|
switch(err) {
|
||||||
case EBADF:
|
case EBADF:
|
||||||
failf(data, "Invalid descriptor: %d", err);
|
failf(data, "Invalid descriptor: %d", err);
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user