Module: wine Branch: master Commit: 58a1c0d50d446e34428cd0946a5ec998994888f7 URL: http://source.winehq.org/git/wine.git/?a=commit;h=58a1c0d50d446e34428cd0946a...
Author: Alexandre Julliard julliard@winehq.org Date: Wed Dec 8 16:24:23 2010 +0100
ws2_32: Fix a compile failure when control messages are not supported.
---
dlls/ws2_32/socket.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/ws2_32/socket.c b/dlls/ws2_32/socket.c index f1c689e..3d85bad 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))