Commit a82278c3 authored by Bruno Jesus's avatar Bruno Jesus Committed by Alexandre Julliard

ws2_32: Fix TRACE format in WS_getsockname.

parent d0955b1b
......@@ -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) )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment