These are already done in accept_socket() and accept_into_socket() respectively.
Signed-off-by: Zebediah Figura z.figura12@gmail.com --- server/sock.c | 4 ---- 1 file changed, 4 deletions(-)
diff --git a/server/sock.c b/server/sock.c index 609576c52bc..58013ba8a83 100644 --- a/server/sock.c +++ b/server/sock.c @@ -1437,7 +1437,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 ); } } @@ -1460,10 +1459,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 ); }