aboutsummaryrefslogtreecommitdiff
path: root/src/microhttpd/mhd_send.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/microhttpd/mhd_send.c')
-rw-r--r--src/microhttpd/mhd_send.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/microhttpd/mhd_send.c b/src/microhttpd/mhd_send.c
index ad63aa58..40e5ef11 100644
--- a/src/microhttpd/mhd_send.c
+++ b/src/microhttpd/mhd_send.c
@@ -371,15 +371,15 @@ MHD_send_on_connection2_ (struct MHD_Connection *connection,
371 371
372 eno = errno; 372 eno = errno;
373 if ((ret == header_len + buffer_len) && have_cork) 373 if ((ret == header_len + buffer_len) && have_cork)
374 { 374 {
375 // Response complete, definitely uncork! 375 // Response complete, definitely uncork!
376 if (0 == setsockopt (s, 376 if (0 == setsockopt (s,
377 IPPROTO_TCP, 377 IPPROTO_TCP,
378 TCP_CORK, 378 TCP_CORK,
379 (const void *) &off_val, 379 (const void *) &off_val,
380 sizeof (off_val))) 380 sizeof (off_val)))
381 ; 381 ;
382 } 382 }
383 errno = eno; 383 errno = eno;
384 } 384 }
385 return ret; 385 return ret;