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:
265c586
)
return error properly when a non-blocking connect fails using the multi
author
Daniel Stenberg
<daniel@haxx.se>
Sat, 12 Oct 2002 11:18:08 +0000
(11:18 +0000)
committer
Daniel Stenberg
<daniel@haxx.se>
Sat, 12 Oct 2002 11:18:08 +0000
(11:18 +0000)
interface
lib/connect.c
patch
|
blob
|
history
diff --git
a/lib/connect.c
b/lib/connect.c
index
2032535
..
0a9e973
100644
(file)
--- a/
lib/connect.c
+++ b/
lib/connect.c
@@
-387,6
+387,8
@@
CURLcode Curl_is_connected(struct connectdata *conn,
return CURLE_OK;
}
/* nope, not connected for real */
+ if(err)
+ return CURLE_COULDNT_CONNECT;
}
/*