ws2_32: Fix TRACE format in WS_getsockname.

This commit is contained in:
Bruno Jesus 2012-10-01 00:30:06 -03:00 committed by Alexandre Julliard
parent d0955b1bd6
commit a82278c349

View File

@ -2444,7 +2444,7 @@ int WINAPI WS_getsockname(SOCKET s, struct WS_sockaddr *name, int *namelen)
int fd;
int res;
TRACE("socket: %04lx, ptr %p, len %8x\n", s, name, *namelen);
TRACE("socket: %04lx, ptr %p, len %08x\n", s, name, namelen?*namelen:0);
/* Check if what we've received is valid. Should we use IsBadReadPtr? */
if( (name == NULL) || (namelen == NULL) )