ws2_32: Trace getpeername() result.

This commit is contained in:
Bruno Jesus 2015-01-14 22:51:16 -02:00 committed by Alexandre Julliard
parent 44933230f6
commit 632de943be
1 changed files with 3 additions and 0 deletions

View File

@ -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());