aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2019-10-17 23:10:34 +0200
committerChristian Grothoff <christian@grothoff.org>2019-10-17 23:10:34 +0200
commit093c83c2270e18294811f394c9af87a2cb56ea20 (patch)
tree8e82ee29761efc62ddfd7c415d0199bc32ab73ed
parentdab960711f64b62dc447a66d98705dbb51407ca8 (diff)
downloadlibmicrohttpd-093c83c2270e18294811f394c9af87a2cb56ea20.tar.gz
libmicrohttpd-093c83c2270e18294811f394c9af87a2cb56ea20.zip
fix missing ret, thanks, Markus
-rw-r--r--src/microhttpd/mhd_sockets.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/microhttpd/mhd_sockets.c b/src/microhttpd/mhd_sockets.c
index 7929c07a..ad2f91bc 100644
--- a/src/microhttpd/mhd_sockets.c
+++ b/src/microhttpd/mhd_sockets.c
@@ -530,6 +530,8 @@ MHD_socket_cork_ (MHD_socket sock,
530 return 0; /* even force flush failed!? */ 530 return 0; /* even force flush failed!? */
531 return 1; /* success */ 531 return 1; /* success */
532 } 532 }
533#else
534 return 1; /* success */
533#endif 535#endif
534#else 536#else
535 /* do not have MHD_TCP_CORK_NOPUSH at all */ 537 /* do not have MHD_TCP_CORK_NOPUSH at all */