Skip to content
Snippets Groups Projects
Commit 5a4e3979 authored by Elizabeth Figura's avatar Elizabeth Figura Committed by Alexandre Julliard
Browse files

server: Remove a redundant call to set_fd_events().


We will always call set_fd_events() again in sock_reselect().

Signed-off-by: default avatarZebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard's avatarAlexandre Julliard <julliard@winehq.org>
parent 7de36f8e
No related branches found
No related tags found
No related merge requests found
......@@ -1112,9 +1112,6 @@ static void sock_poll_event( struct fd *fd, int event )
if (debug_level)
fprintf(stderr, "socket %p select event: %x\n", sock, event);
/* we may change event later, remove from loop here */
if (event & (POLLERR|POLLHUP)) set_fd_events( sock->fd, -1 );
switch (sock->state)
{
case SOCK_UNCONNECTED:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment