diff options
-rw-r--r-- | src/microhttpd/connection.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/microhttpd/connection.c b/src/microhttpd/connection.c index 3315ad22..6198e1ff 100644 --- a/src/microhttpd/connection.c +++ b/src/microhttpd/connection.c | |||
@@ -3472,8 +3472,7 @@ MHD_connection_handle_write (struct MHD_Connection *connection) | |||
3472 | #if defined(_MHD_HAVE_SENDFILE) | 3472 | #if defined(_MHD_HAVE_SENDFILE) |
3473 | if (MHD_resp_sender_sendfile == connection->resp_sender) | 3473 | if (MHD_resp_sender_sendfile == connection->resp_sender) |
3474 | { | 3474 | { |
3475 | // ret = sendfile_adapter (connection); | 3475 | ret = sendfile_adapter (connection); |
3476 | ret = MHD_sendfile_on_connection_ (connection); | ||
3477 | } | 3476 | } |
3478 | else | 3477 | else |
3479 | #else /* ! _MHD_HAVE_SENDFILE */ | 3478 | #else /* ! _MHD_HAVE_SENDFILE */ |