Commit 91f89260 authored by Torge Matthies's avatar Torge Matthies Committed by Alexandre Julliard

server: Don't consider non-pending poll requests when reselecting socket.

parent f8cf88dc
......@@ -1470,6 +1470,8 @@ static int sock_get_poll_events( struct fd *fd )
{
unsigned int i;
if (req->iosb->status != STATUS_PENDING) continue;
for (i = 0; i < req->count; ++i)
{
if (req->sockets[i].sock != sock) continue;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment