summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorng0 <ng0@n0.is>2019-07-29 20:01:01 +0000
committerng0 <ng0@n0.is>2019-07-29 20:01:01 +0000
commit8ce24c2ae433fdf1ec125211d3622f3c27b56797 (patch)
tree32c4fc6cd98590178a8793fbc7e1275247145b3d
parent379da4ce093bdc957b53b563aa1ae0c7c37c19ac (diff)
_len -> _size
-rw-r--r--src/microhttpd/mhd_send.c2
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,
ret = writev (s, vector, iovcnt);
#endif
- if (ret == header_len + buffer_len)
+ if (ret == header_size + buffer_size)
want_cork = false;
post_cork_setsockopt (connection, want_cork);