diff options
author | Christian Grothoff <christian@grothoff.org> | 2019-12-15 14:12:44 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2019-12-15 14:12:56 +0100 |
commit | 6f3a998f22c15891dfe5d33a8c1b138090aa6968 (patch) | |
tree | 5d437ce28692efd7069075b0c2232eef33c14a88 /src/microhttpd/mhd_sockets.c | |
parent | 4cd47bcc3c1ea57bb37b7dc400d8f9f98d499c2a (diff) | |
download | libmicrohttpd-6f3a998f22c15891dfe5d33a8c1b138090aa6968.tar.gz libmicrohttpd-6f3a998f22c15891dfe5d33a8c1b138090aa6968.zip |
fix #5977
Diffstat (limited to 'src/microhttpd/mhd_sockets.c')
-rw-r--r-- | src/microhttpd/mhd_sockets.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/microhttpd/mhd_sockets.c b/src/microhttpd/mhd_sockets.c index 7172f8ee..cda00fdd 100644 --- a/src/microhttpd/mhd_sockets.c +++ b/src/microhttpd/mhd_sockets.c | |||
@@ -528,6 +528,7 @@ MHD_socket_cork_ (MHD_socket sock, | |||
528 | TCP_CORK always flushes socket buffer. */ | 528 | TCP_CORK always flushes socket buffer. */ |
529 | if (0 > send (sock, | 529 | if (0 > send (sock, |
530 | &dummy, | 530 | &dummy, |
531 | 0, | ||
531 | 0)) | 532 | 0)) |
532 | return 0; /* even force flush failed!? */ | 533 | return 0; /* even force flush failed!? */ |
533 | return 1; /* success */ | 534 | return 1; /* success */ |