diff options
author | ng0 <ng0@n0.is> | 2019-07-29 15:39:22 +0000 |
---|---|---|
committer | ng0 <ng0@n0.is> | 2019-07-29 15:39:22 +0000 |
commit | 8567afc52fef4443e5b6c95fd20c3be557bb2b0b (patch) | |
tree | 4005fd034964595a900482458a56ed63ea90c8f5 /src/microhttpd/mhd_send.c | |
parent | 43ee3a30379f9d2db9f9b3331ca5f825a5aab2af (diff) | |
download | libmicrohttpd-8567afc52fef4443e5b6c95fd20c3be557bb2b0b.tar.gz libmicrohttpd-8567afc52fef4443e5b6c95fd20c3be557bb2b0b.zip |
have_cork->want_cork
Diffstat (limited to 'src/microhttpd/mhd_send.c')
-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 412a296c..b543c578 100644 --- a/src/microhttpd/mhd_send.c +++ b/src/microhttpd/mhd_send.c | |||
@@ -314,13 +314,13 @@ MHD_send_on_connection2_ (struct MHD_Connection *connection, | |||
314 | { | 314 | { |
315 | #if defined(HAVE_SENDMSG) || defined(HAVE_WRITEV) | 315 | #if defined(HAVE_SENDMSG) || defined(HAVE_WRITEV) |
316 | MHD_socket s = connection->socket_fd; | 316 | MHD_socket s = connection->socket_fd; |
317 | bool have_cork; | 317 | bool want_cork; |
318 | int iovcnt; | 318 | int iovcnt; |
319 | int eno; | 319 | int eno; |
320 | const MHD_SCKT_OPT_BOOL_ off_val = 0; | 320 | const MHD_SCKT_OPT_BOOL_ off_val = 0; |
321 | struct iovec vector[2]; | 321 | struct iovec vector[2]; |
322 | 322 | ||
323 | have_cork = ! connection->sk_cork_on; | 323 | want_cork = ! connection->sk_cork_on; |
324 | pre_cork_setsockopt (connection, want_cork); | 324 | pre_cork_setsockopt (connection, want_cork); |
325 | 325 | ||
326 | vector[0].iov_base = header; | 326 | vector[0].iov_base = header; |