diff --git a/dlls/ws2_32/socket.c b/dlls/ws2_32/socket.c index f1c689ea5ff..3d85badd8b1 100644 --- a/dlls/ws2_32/socket.c +++ b/dlls/ws2_32/socket.c @@ -1525,7 +1525,7 @@ static int WS2_recv( int fd, struct ws2_async *wsa ) if (wsa->control) { ERR("Message control headers cannot be properly supported on this system.\n"); - control->len = 0; + wsa->control->len = 0; } #else if (wsa->control && !convert_control_headers(&hdr, wsa->control))