From 15fd9abfeacf511096dfc061f9c84dbe77ffe000 Mon Sep 17 00:00:00 2001 From: Marcel Raad Date: Sun, 12 May 2019 13:36:45 +0200 Subject: [PATCH] easy: fix another "clarify calculation precedence" warning I missed this one in commit 6b3dde7fe62ea5a557fd1fd323fac2bcd0c2e9be. --- lib/easy.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/easy.c b/lib/easy.c index 9fc33ccb2f..74d21ee639 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; }