projects
/
platform
/
upstream
/
curl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bd04c6f
)
switch() on the right variable!
author
Daniel Stenberg
<daniel@haxx.se>
Tue, 23 Mar 2004 15:48:27 +0000
(15:48 +0000)
committer
Daniel Stenberg
<daniel@haxx.se>
Tue, 23 Mar 2004 15:48:27 +0000
(15:48 +0000)
lib/connect.c
patch
|
blob
|
history
diff --git
a/lib/connect.c
b/lib/connect.c
index
adeadb5
..
14d3a70
100644
(file)
--- 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(err
no
) {
+ switch(err) {
case EBADF:
failf(data, "Invalid descriptor: %d", err);
break;