1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-21 23:58:49 -05:00

return error properly when a non-blocking connect fails using the multi

interface
This commit is contained in:
Daniel Stenberg 2002-10-12 11:18:08 +00:00
parent 265c58611f
commit b5bbc04ad1

View File

@ -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;
}
/*