diff options
Diffstat (limited to 'lib/connect.c')
-rw-r--r-- | lib/connect.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/connect.c b/lib/connect.c index 1a4c193eb..151864fd7 100644 --- a/lib/connect.c +++ b/lib/connect.c @@ -380,8 +380,8 @@ CURLcode Curl_is_connected(struct connectdata *conn, return CURLE_OPERATION_TIMEOUTED; } } - if(conn->protocol & PROT_FILE) { - /* we are connected, awesome! */ + if(conn->bits.tcpconnect) { + /* we are connected already! */ *connected = TRUE; return CURLE_OK; } |