gnunet-svn
[Top][All Lists]
Advanced

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

[libmicrohttpd] branch master updated: Fixed typo


From: gnunet
Subject: [libmicrohttpd] branch master updated: Fixed typo
Date: Wed, 16 Dec 2020 15:17:06 +0100

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

karlson2k pushed a commit to branch master
in repository libmicrohttpd.

The following commit(s) were added to refs/heads/master by this push:
     new 3c2c1d3a Fixed typo
3c2c1d3a is described below

commit 3c2c1d3aa9c0251c0553156a5d48d5f33936a197
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
AuthorDate: Wed Dec 16 17:16:19 2020 +0300

    Fixed typo
    
    Regression from d1d9637605c27493bf3efc9ca772aa63c650cd96
---
 src/microhttpd/mhd_send.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/microhttpd/mhd_send.c b/src/microhttpd/mhd_send.c
index a7125708..3e5a4ab7 100644
--- a/src/microhttpd/mhd_send.c
+++ b/src/microhttpd/mhd_send.c
@@ -860,7 +860,7 @@ MHD_send_hdr_and_body_ (struct MHD_Connection *connection,
 #ifdef _MHD_USE_SEND_VEC
     (no_vec) ||
     (0 == body_size) ||
-    ((size_t) SSIZE_MAX < header_size) ||
+    ((size_t) SSIZE_MAX <= header_size) ||
     ((size_t) _MHD_SEND_VEC_MAX < header_size)
 #else  /* ! _MHD_USE_SEND_VEC */
     true
@@ -936,7 +936,7 @@ MHD_send_hdr_and_body_ (struct MHD_Connection *connection,
   vector[1].iov_base = (void *) body;
   vector[1].iov_len = body_size;
 
-#if define (HAVE_SENDMSG)
+#if defined(HAVE_SENDMSG)
   memset (&msg, 0, sizeof(msg));
   msg.msg_iov = vector;
   msg.msg_iovlen = 2;

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

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