From 6a27a17c557960e9ba86a076d273569dccf3151e Mon Sep 17 00:00:00 2001 From: Jeff Trawick Date: Wed, 24 Jan 2001 16:10:02 +0000 Subject: [PATCH] get http_core to compile on systems without apr_sendfile() support git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87815 13f79535-47bb-0310-9956-ffa450edef68 --- modules/http/http_core.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/modules/http/http_core.c b/modules/http/http_core.c index 5863f80dd7..4262c0e2e3 100644 --- a/modules/http/http_core.c +++ b/modules/http/http_core.c @@ -3480,16 +3480,14 @@ static apr_status_t core_output_filter(ap_filter_t *f, apr_bucket_brigade *b) * return APR_ENOTIMPL seems the cleanest way to handle this * case. */ - if (rv == APR_ENOTIMPL) { + if (rv == APR_ENOTIMPL) #endif + { apr_size_t unused_bytes_sent; rv = send_the_file(c, fd, &hdtr, foffset, flen, &unused_bytes_sent); - -#if APR_HAS_SENDFILE } -#endif fd = NULL; } else { -- 2.40.0