mirror of
https://github.com/reactos/wine.git
synced 2025-02-28 00:39:06 +00:00
ws2_32: Fix TRACE format in WS_getsockname.
This commit is contained in:
parent
d0955b1bd6
commit
a82278c349
@ -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) )
|
||||
|
Loading…
x
Reference in New Issue
Block a user