gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] [libmicrohttpd] 127/154: remove commentblock


From: gnunet
Subject: [GNUnet-SVN] [libmicrohttpd] 127/154: remove commentblock
Date: Mon, 19 Aug 2019 10:17:19 +0200

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

ng0 pushed a commit to branch master
in repository libmicrohttpd.

commit 33f02e62a70ad760fbe274afc15b07dcfc31e024
Author: ng0 <address@hidden>
AuthorDate: Thu Aug 1 17:08:37 2019 +0000

    remove commentblock
---
 src/microhttpd/mhd_send.c | 13 -------------
 1 file changed, 13 deletions(-)

diff --git a/src/microhttpd/mhd_send.c b/src/microhttpd/mhd_send.c
index 10cb97cb..87cecfb4 100644
--- a/src/microhttpd/mhd_send.c
+++ b/src/microhttpd/mhd_send.c
@@ -377,19 +377,6 @@ MHD_send_on_connection2_ (struct MHD_Connection 
*connection,
     msg.msg_iov = vector;
     msg.msg_iovlen = 2;
 
-  /*
-   * questionable for this case, bus maybe worth considering for now:
-   * On at least NetBSD (and FreeBSD?) we need to set both msg_control and
-   * mgs_controllen to 0.
-   * If you set msg_control to nonnull, NetBSD expects you to have
-   * msg_controllen > 0. (sys/kern/uipc_syscalls.c in do_sys_sendmsg_so)
-   * for reference. Thanks to pDNS (for FreeBSD), Riastradh for NetBSD.
-   * FIXME: this is unnecessary, see the memset() above?
-   */
-  /*
-  msg.msg_control = 0;
-  msg.msg_controllen = 0;
-  */
     ret = sendmsg (s, &msg, MAYBE_MSG_NOSIGNAL);
   }
 #elif HAVE_WRITEV

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



reply via email to

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