projects
/
platform
/
upstream
/
curl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2736b27
)
connect.c: Code policing on commit 5094bb53f4a027
author
Steve Holme
<steve_holme@hotmail.com>
Sun, 3 Nov 2013 19:53:58 +0000
(19:53 +0000)
committer
Steve Holme
<steve_holme@hotmail.com>
Sun, 3 Nov 2013 19:53:58 +0000
(19:53 +0000)
No need for a rhs condition on a bitwise compare.
lib/connect.c
patch
|
blob
|
history
diff --git
a/lib/connect.c
b/lib/connect.c
index fe41fd128c492b2522d5b8fbb8b462a16cd00f46..672eb697d2ef880bae9ac3dfdff4a16ff2150fed 100644
(file)
--- 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);
/*