gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] [libmicrohttpd] 123/154: fix behavior on NetBSD, use the ri


From: gnunet
Subject: [GNUnet-SVN] [libmicrohttpd] 123/154: fix behavior on NetBSD, use the right sizeof.
Date: Mon, 19 Aug 2019 10:17:15 +0200

This is an automated email from the git hooks/post-receive script.

ng0 pushed a commit to branch master
in repository libmicrohttpd.

commit 8c6c3d4555dfb08c89332036f70c901275891b6b
Author: ng0 <address@hidden>
AuthorDate: Tue Jul 30 14:26:24 2019 +0000

    fix behavior on NetBSD, use the right sizeof.
---
 src/microhttpd/mhd_send.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/microhttpd/mhd_send.c b/src/microhttpd/mhd_send.c
index b2a52ba7..69239acc 100644
--- a/src/microhttpd/mhd_send.c
+++ b/src/microhttpd/mhd_send.c
@@ -337,7 +337,7 @@ MHD_send_on_connection2_ (struct MHD_Connection *connection,
 
 #if HAVE_SENDMSG
   struct msghdr msg;
-  memset(&msg, 0, sizeof(msg));
+  memset(&msg, 0, sizeof(struct msghdr));
 
   msg.msg_iov = vector;
   msg.msg_iovlen = 2;

-- 
To stop receiving notification emails like this one, please contact
address@hidden.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]