]> granicus.if.org Git - curl/commitdiff
easy: fix another "clarify calculation precedence" warning
authorMarcel Raad <Marcel.Raad@teamviewer.com>
Sun, 12 May 2019 11:36:45 +0000 (13:36 +0200)
committerMarcel Raad <Marcel.Raad@teamviewer.com>
Sun, 12 May 2019 11:36:45 +0000 (13:36 +0200)
I missed this one in commit 6b3dde7fe62ea5a557fd1fd323fac2bcd0c2e9be.

lib/easy.c

index 9fc33ccb2fd92bf6b891d220db150f80c5e2d391..74d21ee6396f8fb04ab194b37cc22985d562a0f5 100644 (file)
@@ -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;
     }