aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2006-06-28 04:17:04 +0000
committerYang Tse <yangsita@gmail.com>2006-06-28 04:17:04 +0000
commit64f72c22b99e5b130eee08c704d80b99c48622ad (patch)
tree43df7858e3bc78d4e742f9abf08f978e3355724a
parent856114d05c8429f63ac8c2fe415362fd7406799e (diff)
fix minor compiler warning
-rw-r--r--lib/multi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/multi.c b/lib/multi.c
index cfb749dfd..9b9929dc9 100644
--- a/lib/multi.c
+++ b/lib/multi.c
@@ -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);
}