ws2_32: Avoid a crash with tracing on.
This commit is contained in:
parent
621454ef0e
commit
59a1e6bff9
|
@ -2956,7 +2956,7 @@ INT WINAPI WS_getsockopt(SOCKET s, INT level,
|
|||
INT ret = 0;
|
||||
|
||||
TRACE("socket: %04lx, level 0x%x, name 0x%x, ptr %p, len %d\n",
|
||||
s, level, optname, optval, *optlen);
|
||||
s, level, optname, optval, optlen ? *optlen : 0);
|
||||
|
||||
switch(level)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue