aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Holme <steve_holme@hotmail.com>2013-11-03 19:53:58 +0000
committerSteve Holme <steve_holme@hotmail.com>2013-11-03 19:53:58 +0000
commitf77d9b65846e3d048cf6d0e08f4c5f2ccf9e8763 (patch)
tree4f7c0feb8fa51829b78fff9e80369bdffb6c91e6
parent2736b27df78ae0d9b3a2beeaf2fb925a5ee47702 (diff)
connect.c: Code policing on commit 5094bb53f4a027
No need for a rhs condition on a bitwise compare.
-rw-r--r--lib/connect.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/connect.c b/lib/connect.c
index fe41fd128..672eb697d 100644
--- a/lib/connect.c
+++ b/lib/connect.c
@@ -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);
/*