gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] [gnurl] 156/219: easy: fix another "clarify calculation pre


From: gnunet
Subject: [GNUnet-SVN] [gnurl] 156/219: easy: fix another "clarify calculation precedence" warning
Date: Wed, 22 May 2019 19:18:15 +0200

This is an automated email from the git hooks/post-receive script.

ng0 pushed a commit to branch master
in repository gnurl.

commit 15fd9abfeacf511096dfc061f9c84dbe77ffe000
Author: Marcel Raad <address@hidden>
AuthorDate: Sun May 12 13:36:45 2019 +0200

    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 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;
     }

-- 
To stop receiving notification emails like this one, please contact
address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]