diff options
author | Christian Grothoff <christian@grothoff.org> | 2019-07-22 18:36:36 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2019-07-22 18:36:36 +0200 |
commit | 066f17f28a0a09bb1ea8e25872e42f31b13b50e7 (patch) | |
tree | 685c7d91f40e6524f5ebecd56890dcd3015ae1d7 /src | |
parent | 5304f73f9e8ebeafc1b80f2033b7c3add1169e75 (diff) | |
download | libmicrohttpd-066f17f28a0a09bb1ea8e25872e42f31b13b50e7.tar.gz libmicrohttpd-066f17f28a0a09bb1ea8e25872e42f31b13b50e7.zip |
reminder
Diffstat (limited to 'src')
-rw-r--r-- | src/microhttpd/mhd_send.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/microhttpd/mhd_send.c b/src/microhttpd/mhd_send.c index b77d6614..2f435956 100644 --- a/src/microhttpd/mhd_send.c +++ b/src/microhttpd/mhd_send.c | |||
@@ -364,6 +364,7 @@ MHD_send_on_connection2_ (struct MHD_Connection *connection, | |||
364 | vector[1].iov_base = buffer; | 364 | vector[1].iov_base = buffer; |
365 | vector[1].iov_len = strlen (buffer); | 365 | vector[1].iov_len = strlen (buffer); |
366 | iovcnt = sizeof (vector) / sizeof (struct iovec); | 366 | iovcnt = sizeof (vector) / sizeof (struct iovec); |
367 | // FIXME: maybe use sendmsg() if available instead! | ||
367 | ret = writev (connection->socket_fd, vector, iovcnt); | 368 | ret = writev (connection->socket_fd, vector, iovcnt); |
368 | 369 | ||
369 | #if TCP_CORK | 370 | #if TCP_CORK |