diff options
-rw-r--r-- | lib/url.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -2346,6 +2346,8 @@ static CURLcode ConnectPlease(struct SessionHandle *data, break; } } + if(result) + *connected = FALSE; /* mark it as not connected */ return result; } |