mirror of
https://github.com/moparisthebest/curl
synced 2025-03-01 09:51:46 -05:00
fix better minor compiler warning
This commit is contained in:
parent
64f72c22b9
commit
b01286d280
@ -1083,8 +1083,11 @@ static void singlesocket(struct Curl_multi *multi,
|
|||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
action = ((current.action & GETSOCK_READSOCK(i))?CURL_POLL_IN:0) +
|
action = CURL_POLL_NONE;
|
||||||
((current.action & GETSOCK_WRITESOCK(i))?CURL_POLL_OUT:0);
|
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 */
|
/* call the callback with this new info */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user