summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcel Raad <Marcel.Raad@teamviewer.com>2019-05-12 13:36:45 +0200
committerMarcel Raad <Marcel.Raad@teamviewer.com>2019-05-12 13:36:45 +0200
commit15fd9abfeacf511096dfc061f9c84dbe77ffe000 (patch)
tree8cb525e7120bd72d3e651937c4bb8f4aafdf50db
parent6b3dde7fe62ea5a557fd1fd323fac2bcd0c2e9be (diff)
downloadcurl-15fd9abfeacf511096dfc061f9c84dbe77ffe000.tar.gz
easy: fix another "clarify calculation precedence" warning
I missed this one in commit 6b3dde7fe62ea5a557fd1fd323fac2bcd0c2e9be.
-rw-r--r--lib/easy.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/easy.c b/lib/easy.c
index 9fc33ccb2..74d21ee63 100644
--- a/lib/easy.c
+++ b/lib/easy.c
@@ -427,8 +427,8 @@ static int events_socket(struct Curl_easy *easy, /* easy handle */
mask. Convert from libcurl bitmask to the poll one. */
m->socket.events = socketcb2poll(what);
infof(easy, "socket cb: socket %d UPDATED as %s%s\n", s,
- what&CURL_POLL_IN?"IN":"",
- what&CURL_POLL_OUT?"OUT":"");
+ (what&CURL_POLL_IN)?"IN":"",
+ (what&CURL_POLL_OUT)?"OUT":"");
}
break;
}