switch() on the right variable!

This commit is contained in:
Daniel Stenberg 2004-03-23 15:48:27 +00:00
parent bd04c6fb67
commit fe6f0aeb26
1 changed files with 1 additions and 1 deletions

View File

@ -354,7 +354,7 @@ static CURLcode bindlocal(struct connectdata *conn,
#endif
if(!bindworked) {
int err = Curl_ourerrno();
switch(errno) {
switch(err) {
case EBADF:
failf(data, "Invalid descriptor: %d", err);
break;