ws2_32: Fix a compile failure when control messages are not supported.

This commit is contained in:
Alexandre Julliard 2010-12-08 16:24:23 +01:00
parent 33763656bd
commit 58a1c0d50d

View file

@ -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))