Bruno Jesus : ws2_32: Trace getpeername() result.

Alexandre Julliard julliard at wine.codeweavers.com
Thu Jan 15 15:55:41 CST 2015


Module: wine
Branch: master
Commit: 632de943bed4aa0072c0690dbe903eef8328240b
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=632de943bed4aa0072c0690dbe903eef8328240b

Author: Bruno Jesus <00cpxxx at gmail.com>
Date:   Wed Jan 14 22:51:16 2015 -0200

ws2_32: Trace getpeername() result.

---

 dlls/ws2_32/socket.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/dlls/ws2_32/socket.c b/dlls/ws2_32/socket.c
index 5b9a441..0bc9d16 100644
--- a/dlls/ws2_32/socket.c
+++ b/dlls/ws2_32/socket.c
@@ -2985,7 +2985,10 @@ int WINAPI WS_getpeername(SOCKET s, struct WS_sockaddr *name, int *namelen)
                 /* The buffer was too small */
                 SetLastError(WSAEFAULT);
             else
+            {
                 res = 0;
+                TRACE("=> %s\n", debugstr_sockaddr(name));
+            }
         }
         else
             SetLastError(wsaErrno());




More information about the wine-cvs mailing list