diff options
Diffstat (limited to 'lib/connect.c')
-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; } /* |