]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
fix minor compiler warning
authorYang Tse <yangsita@gmail.com>
Wed, 28 Jun 2006 04:17:04 +0000 (04:17 +0000)
committerYang Tse <yangsita@gmail.com>
Wed, 28 Jun 2006 04:17:04 +0000 (04:17 +0000)
lib/multi.c

index cfb749dfd96580cf9931548406dcc8e663c69e18..9b9929dc9ea743f7fd3b66f9b1b20cd70c7454f7 100644 (file)
@@ -1083,7 +1083,7 @@ static void singlesocket(struct Curl_multi *multi,
             continue;
         }
 
-        action = ((current.action & GETSOCK_READSOCK(i))?CURL_POLL_IN:0) |
+        action = ((current.action & GETSOCK_READSOCK(i))?CURL_POLL_IN:0) +
           ((current.action & GETSOCK_WRITESOCK(i))?CURL_POLL_OUT:0);
       }