url.c: Very small amount of policing

This commit is contained in:
Steve Holme 2013-11-05 23:30:12 +00:00
parent 1ea05be46d
commit 98a5fdaf29
1 changed files with 2 additions and 2 deletions

View File

@ -5562,7 +5562,7 @@ 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 {