diff options
-rw-r--r-- | src/microhttpd/mhd_send.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/microhttpd/mhd_send.c b/src/microhttpd/mhd_send.c index 64079b8d..d360f981 100644 --- a/src/microhttpd/mhd_send.c +++ b/src/microhttpd/mhd_send.c | |||
@@ -343,7 +343,7 @@ MHD_send_on_connection2_ (struct MHD_Connection *connection, | |||
343 | ret = writev (s, vector, iovcnt); | 343 | ret = writev (s, vector, iovcnt); |
344 | #endif | 344 | #endif |
345 | 345 | ||
346 | if (ret == header_len + buffer_len) | 346 | if (ret == header_size + buffer_size) |
347 | want_cork = false; | 347 | want_cork = false; |
348 | 348 | ||
349 | post_cork_setsockopt (connection, want_cork); | 349 | post_cork_setsockopt (connection, want_cork); |