[gnutls-devel] GnuTLS | Sockets: implement sendmsg()-like functions on Win32 (bfd453f3)

Read-only notification of GnuTLS library development activities gnutls-devel at lists.gnutls.org
Thu Nov 25 13:15:27 CET 2021




Gisle Vanem commented on a discussion on lib/system/sockets.c: https://gitlab.com/gnutls/gnutls/-/commit/bfd453f39cb6126e561000a711264b2535eefc36#note_743727396

>  {
>  	return send(GNUTLS_POINTER_TO_INT(ptr), data, data_size, 0);
>  }
> +
> +ssize_t
> +system_writev(gnutls_transport_ptr_t ptr, const giovec_t * iovec,
> +	      int iovec_cnt)
> +{
> +	WSABUF bufs[iovec_cnt];

I replaced with: `WSABUF *bufs = alloca (sizeof(WSABUF) * iovec_cnt);` to fix it here.

-- 
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/-/commit/bfd453f39cb6126e561000a711264b2535eefc36#note_743727396
You're receiving this email because of your account on gitlab.com.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gnupg.org/pipermail/gnutls-devel/attachments/20211125/18c017fd/attachment.html>


More information about the Gnutls-devel mailing list