From 58a1c0d50d446e34428cd0946a5ec998994888f7 Mon Sep 17 00:00:00 2001 From: Alexandre Julliard Date: Wed, 8 Dec 2010 16:24:23 +0100 Subject: [PATCH] ws2_32: Fix a compile failure when control messages are not supported. --- dlls/ws2_32/socket.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)) -- 2.11.4.GIT