mirror of
https://github.com/curl/curl.git
synced 2026-06-01 21:34:20 +03:00
fix better minor compiler warning
This commit is contained in:
parent
64f72c22b9
commit
b01286d280
1 changed files with 5 additions and 2 deletions
|
|
@ -1083,8 +1083,11 @@ 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 = CURL_POLL_NONE;
|
||||
if(current.action & GETSOCK_READSOCK(i))
|
||||
action |= CURL_POLL_IN;
|
||||
if(current.action & GETSOCK_WRITESOCK(i))
|
||||
action |= CURL_POLL_OUT;
|
||||
}
|
||||
|
||||
/* call the callback with this new info */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue