attempt to silence the MIPSPro compiler warning
authorDaniel Stenberg <daniel@haxx.se>
Tue, 18 Apr 2006 10:55:41 +0000 (10:55 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Tue, 18 Apr 2006 10:55:41 +0000 (10:55 +0000)
lib/multi.c

index 2eed1b2..78cd2af 100644 (file)
@@ -1088,8 +1088,8 @@ static void singlesocket(struct Curl_multi *multi,
             continue;
         }
 
-        action = (current.action & GETSOCK_READSOCK(i)?CURL_POLL_IN:0) |
-          (current.action & GETSOCK_WRITESOCK(i)?CURL_POLL_OUT:0);
+        action = ((current.action & GETSOCK_READSOCK(i))?CURL_POLL_IN:0) |
+          ((current.action & GETSOCK_WRITESOCK(i))?CURL_POLL_OUT:0);
       }
 
       /* call the callback with this new info */