Zebediah Figura : ws2_32: Trace the address bound to in bind().
Module: wine Branch: master Commit: 575e632d08a845629c477dbdc9d4332d24a2a19d URL: https://source.winehq.org/git/wine.git/?a=commit;h=575e632d08a845629c477dbdc... Author: Zebediah Figura <zfigura(a)codeweavers.com> Date: Wed Jan 5 19:03:23 2022 -0600 ws2_32: Trace the address bound to in bind(). Signed-off-by: Zebediah Figura <zfigura(a)codeweavers.com> Signed-off-by: Alexandre Julliard <julliard(a)winehq.org> --- 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 );
participants (1)
-
Alexandre Julliard