diff options
author | Evgeny Grin (Karlson2k) <k2k@narod.ru> | 2020-12-16 17:16:19 +0300 |
---|---|---|
committer | Evgeny Grin (Karlson2k) <k2k@narod.ru> | 2020-12-16 17:16:19 +0300 |
commit | 3c2c1d3aa9c0251c0553156a5d48d5f33936a197 (patch) | |
tree | c79a11ffad5ca0cd7f8993a321f42f443da074dc | |
parent | d1d9637605c27493bf3efc9ca772aa63c650cd96 (diff) | |
download | libmicrohttpd-3c2c1d3aa9c0251c0553156a5d48d5f33936a197.tar.gz libmicrohttpd-3c2c1d3aa9c0251c0553156a5d48d5f33936a197.zip |
Fixed typo
Regression from d1d9637605c27493bf3efc9ca772aa63c650cd96
-rw-r--r-- | src/microhttpd/mhd_send.c | 4 |
1 files 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, | |||
860 | #ifdef _MHD_USE_SEND_VEC | 860 | #ifdef _MHD_USE_SEND_VEC |
861 | (no_vec) || | 861 | (no_vec) || |
862 | (0 == body_size) || | 862 | (0 == body_size) || |
863 | ((size_t) SSIZE_MAX < header_size) || | 863 | ((size_t) SSIZE_MAX <= header_size) || |
864 | ((size_t) _MHD_SEND_VEC_MAX < header_size) | 864 | ((size_t) _MHD_SEND_VEC_MAX < header_size) |
865 | #else /* ! _MHD_USE_SEND_VEC */ | 865 | #else /* ! _MHD_USE_SEND_VEC */ |
866 | true | 866 | true |
@@ -936,7 +936,7 @@ MHD_send_hdr_and_body_ (struct MHD_Connection *connection, | |||
936 | vector[1].iov_base = (void *) body; | 936 | vector[1].iov_base = (void *) body; |
937 | vector[1].iov_len = body_size; | 937 | vector[1].iov_len = body_size; |
938 | 938 | ||
939 | #if define (HAVE_SENDMSG) | 939 | #if defined(HAVE_SENDMSG) |
940 | memset (&msg, 0, sizeof(msg)); | 940 | memset (&msg, 0, sizeof(msg)); |
941 | msg.msg_iov = vector; | 941 | msg.msg_iov = vector; |
942 | msg.msg_iovlen = 2; | 942 | msg.msg_iovlen = 2; |