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

connect.c: Code policing on commit 5094bb53f4

No need for a rhs condition on a bitwise compare.
This commit is contained in:
Steve Holme 2013-11-03 19:53:58 +00:00
parent 2736b27df7
commit f77d9b6584

View File

@ -785,7 +785,7 @@ CURLcode Curl_is_connected(struct connectdata *conn,
else
infof(data, "Connection failed\n");
}
else if((result & CURL_CSELECT_ERR) == CURL_CSELECT_ERR)
else if(result & CURL_CSELECT_ERR)
(void)verifyconnect(conn->tempsock[i], &error);
/*