[PATCH] ws2_32: Copy send buffer data in WS2_ConnectEx().

Jacek Caban jacek at codeweavers.com
Wed Mar 24 11:06:25 CDT 2021


Hi Paul,

Thanks for looking at it. Ultimately, we don't want those asyncs in 
winsock, but this seems good for now.

On 23.03.2021 19:45, Paul Gofman wrote:
> -            wsa->iovec[0].iov_base = sendBuf;
> +            wsa->iovec[0].iov_base = sendBuf ? (BYTE *)wsa + offsetof( struct ws2_async, iovec[1] ) : NULL;


I think you could use just &wsa->iovec[1] instead.


Jacek




More information about the wine-devel mailing list