[PATCH] ws2_32: Trace the address bound to in bind().

Zebediah Figura zfigura at codeweavers.com
Wed Jan 5 19:03:23 CST 2022


Signed-off-by: Zebediah Figura <zfigura at codeweavers.com>
---
 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 2b05884acaf..f0c8f4a72d0 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 );
 
-- 
2.34.1




More information about the wine-devel mailing list