diff options
author | Daniel Stenberg <daniel@haxx.se> | 2002-10-12 11:18:08 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2002-10-12 11:18:08 +0000 |
commit | b5bbc04ad1fa584b0862925daecfb48dbdcb70c1 (patch) | |
tree | 48eacb72f220a1d7d674f0d9fbe8de36484e6b97 /lib | |
parent | 265c58611fe33b1ebc141a8909d69323421a18bf (diff) | |
download | curl-b5bbc04ad1fa584b0862925daecfb48dbdcb70c1.tar.gz |
return error properly when a non-blocking connect fails using the multi
interface
Diffstat (limited to 'lib')
-rw-r--r-- | lib/connect.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/connect.c b/lib/connect.c index 203253500..0a9e97368 100644 --- 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; } /* |