Commit 87624c2c authored by Gerald Pfeifer's avatar Gerald Pfeifer Committed by Alexandre Julliard

server: Remove pollev from set_socket_event.

parent 6ce537ba
......@@ -967,7 +967,6 @@ DECL_HANDLER(set_socket_event)
{
struct sock *sock;
struct event *old_event;
int pollev;
if (!(sock = (struct sock *)get_handle_obj( current->process, req->handle,
FILE_WRITE_ATTRIBUTES, &sock_ops))) return;
......@@ -982,7 +981,7 @@ DECL_HANDLER(set_socket_event)
if (debug_level && sock->event) fprintf(stderr, "event ptr: %p\n", sock->event);
pollev = sock_reselect( sock );
sock_reselect( sock );
if (sock->mask)
sock->state |= FD_WINE_NONBLOCKING;
......
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