From 575e632d08a845629c477dbdc9d4332d24a2a19d Mon Sep 17 00:00:00 2001 From: Zebediah Figura Date: Wed, 5 Jan 2022 19:03:23 -0600 Subject: [PATCH] ws2_32: Trace the address bound to in bind(). Signed-off-by: Zebediah Figura Signed-off-by: Alexandre Julliard --- dlls/ws2_32/socket.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dlls/ws2_32/socket.c b/dlls/ws2_32/socket.c index 6bad74e3c8d..0f12a8b8d4a 100644 --- a/dlls/ws2_32/socket.c +++ b/dlls/ws2_32/socket.c @@ -1143,6 +1143,8 @@ int WINAPI bind( SOCKET s, const struct sockaddr *addr, int len ) status = io.u.Status; } + if (!status) TRACE( "successfully bound to address %s\n", debugstr_sockaddr( ret_addr )); + free( params ); free( ret_addr );