Commit cb5edb4b authored by Zebediah Figura's avatar Zebediah Figura Committed by Alexandre Julliard

server: Remove redundant calls to sock_reselect().

These are already done in accept_socket() and accept_into_socket() respectively. Signed-off-by: 's avatarZebediah Figura <z.figura12@gmail.com> Signed-off-by: 's avatarAlexandre Julliard <julliard@winehq.org>
parent b1f2b61b
...@@ -1427,7 +1427,6 @@ DECL_HANDLER(accept_socket) ...@@ -1427,7 +1427,6 @@ DECL_HANDLER(accept_socket)
{ {
reply->handle = alloc_handle( current->process, &sock->obj, req->access, req->attributes ); reply->handle = alloc_handle( current->process, &sock->obj, req->access, req->attributes );
sock->wparam = reply->handle; /* wparam for message is the socket handle */ sock->wparam = reply->handle; /* wparam for message is the socket handle */
sock_reselect( sock );
release_object( &sock->obj ); release_object( &sock->obj );
} }
} }
...@@ -1450,10 +1449,7 @@ DECL_HANDLER(accept_into_socket) ...@@ -1450,10 +1449,7 @@ DECL_HANDLER(accept_into_socket)
} }
if (accept_into_socket( sock, acceptsock )) if (accept_into_socket( sock, acceptsock ))
{
acceptsock->wparam = req->ahandle; /* wparam for message is the socket handle */ acceptsock->wparam = req->ahandle; /* wparam for message is the socket handle */
sock_reselect( acceptsock );
}
release_object( acceptsock ); release_object( acceptsock );
release_object( sock ); release_object( sock );
} }
......
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