diff options
author | Steve Holme <steve_holme@hotmail.com> | 2013-11-05 23:30:12 +0000 |
---|---|---|
committer | Steve Holme <steve_holme@hotmail.com> | 2013-11-05 23:30:12 +0000 |
commit | 98a5fdaf29e4c84bf02f0fe8c8865bf85b896b43 (patch) | |
tree | e940ca8b1ff568ee70589f9f816dd590bc775189 /lib/url.c | |
parent | 1ea05be46d5901e449a79f95f9df31ff67c43fe1 (diff) |
url.c: Very small amount of policing
Diffstat (limited to 'lib/url.c')
-rw-r--r-- | lib/url.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -5562,11 +5562,11 @@ CURLcode Curl_setup_conn(struct connectdata *conn, if(CURL_SOCKET_BAD == conn->sock[FIRSTSOCKET]) { conn->bits.tcpconnect[FIRSTSOCKET] = FALSE; result = Curl_connecthost(conn, conn->dns_entry); - if(CURLE_OK != result) + if(result) return result; } else { - Curl_pgrsTime(data, TIMER_CONNECT); /* we're connected already */ + Curl_pgrsTime(data, TIMER_CONNECT); /* we're connected already */ Curl_pgrsTime(data, TIMER_APPCONNECT); /* we're connected already */ conn->bits.tcpconnect[FIRSTSOCKET] = TRUE; *protocol_done = TRUE; |