And the renaming patch
dlls/ws2_32/socket.c | 2 +- server/protocol.def | 2 +- server/sock.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/dlls/ws2_32/socket.c b/dlls/ws2_32/socket.c index a4c442f..b5d5ff5 100644 --- a/dlls/ws2_32/socket.c +++ b/dlls/ws2_32/socket.c @@ -1473,7 +1473,7 @@ INT WINAPI WSACleanup(void) num_startup--; if (num_startup == 0) { - SERVER_START_REQ(close_process_sockets) + SERVER_START_REQ(socket_cleanup) { wine_server_call( req ); } diff --git a/server/protocol.def b/server/protocol.def index fb63da1..2dccb9a 100644 --- a/server/protocol.def +++ b/server/protocol.def @@ -943,7 +943,7 @@ struct rawinput_device @END
/* Close all sockets for the current process */ -@REQ(close_process_sockets) +@REQ(socket_cleanup) @END
/* Set a handle information */ diff --git a/server/sock.c b/server/sock.c index c077755..c5c5083 100644 --- a/server/sock.c +++ b/server/sock.c @@ -1384,7 +1384,7 @@ DECL_HANDLER(get_socket_info) release_object( &sock->obj ); }
-DECL_HANDLER(close_process_sockets) +DECL_HANDLER(socket_cleanup) { obj_handle_t sock; unsigned int index = 0;