diff options
author | Steve Holme <steve_holme@hotmail.com> | 2013-11-03 19:53:58 +0000 |
---|---|---|
committer | Steve Holme <steve_holme@hotmail.com> | 2013-11-03 19:53:58 +0000 |
commit | f77d9b65846e3d048cf6d0e08f4c5f2ccf9e8763 (patch) | |
tree | 4f7c0feb8fa51829b78fff9e80369bdffb6c91e6 /lib/connect.c | |
parent | 2736b27df78ae0d9b3a2beeaf2fb925a5ee47702 (diff) | |
download | curl-f77d9b65846e3d048cf6d0e08f4c5f2ccf9e8763.tar.gz |
connect.c: Code policing on commit 5094bb53f4a027
No need for a rhs condition on a bitwise compare.
Diffstat (limited to 'lib/connect.c')
-rw-r--r-- | lib/connect.c | 2 |
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); /* |