diff options
| author | Daniel Stenberg <daniel@haxx.se> | 2004-03-23 15:48:27 +0000 | 
|---|---|---|
| committer | Daniel Stenberg <daniel@haxx.se> | 2004-03-23 15:48:27 +0000 | 
| commit | fe6f0aeb26170bfe8d7765a865c92264778f712b (patch) | |
| tree | 8879877971bd8b4fd40f97ee3ad7d13f56151c28 | |
| parent | bd04c6fb6762a946ffa3e7332b78b536edd7fd36 (diff) | |
switch() on the right variable!
| -rw-r--r-- | lib/connect.c | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/connect.c b/lib/connect.c index adeadb59f..14d3a70b4 100644 --- a/lib/connect.c +++ b/lib/connect.c @@ -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;  | 
