mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-15 05:29:51 +00:00
server: Remove redundant calls to sock_reselect().
These are already done in accept_socket() and accept_into_socket() respectively. Signed-off-by: Zebediah Figura <z.figura12@gmail.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
b1f2b61be0
commit
cb5edb4b12
|
@ -1427,7 +1427,6 @@ DECL_HANDLER(accept_socket)
|
|||
{
|
||||
reply->handle = alloc_handle( current->process, &sock->obj, req->access, req->attributes );
|
||||
sock->wparam = reply->handle; /* wparam for message is the socket handle */
|
||||
sock_reselect( sock );
|
||||
release_object( &sock->obj );
|
||||
}
|
||||
}
|
||||
|
@ -1450,10 +1449,7 @@ DECL_HANDLER(accept_into_socket)
|
|||
}
|
||||
|
||||
if (accept_into_socket( sock, acceptsock ))
|
||||
{
|
||||
acceptsock->wparam = req->ahandle; /* wparam for message is the socket handle */
|
||||
sock_reselect( acceptsock );
|
||||
}
|
||||
release_object( acceptsock );
|
||||
release_object( sock );
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue