commit b474adda0898c01194ed47c5d90b5caed99f7bf6
parent f824f0352c7dafad9408ace661d6cbe48906c86d
Author: ng0 <ng0@n0.is>
Date: Mon, 17 Jun 2019 17:13:10 +0000
mhd_send: remove unnecessary comments.
Diffstat:
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/src/microhttpd/mhd_send.c b/src/microhttpd/mhd_send.c
@@ -288,7 +288,6 @@ MHD_send_on_connection2_ (struct MHD_Connection *connection,
// -- </pseudo>
#ifdef WRITEV
int iovcnt;
- // TODO: iovec/writev needs no alloc, but consider looking into mmap?
struct iovec vector[2];
vector[0].iov_base = header;
vector[0].iov_len = strlen (header);
@@ -298,8 +297,7 @@ MHD_send_on_connection2_ (struct MHD_Connection *connection,
int i = writev (s, vector, iovcnt);
fprintf (stdout, "i=%d, errno=%d\n", i, errno);
#else
- // wait for phonecall clearing this up?
- // COMMENTARY: not available, send a combination of header + buffer.
+ // not available, send a combination of header + buffer.
size_t concatsize = header_size + buffer_size;
const char *concatbuffer;
concatbuffer = header + buffer;