From: Jeff Trawick Date: Wed, 24 Jan 2001 16:10:02 +0000 (+0000) Subject: get http_core to compile on systems without apr_sendfile() support X-Git-Tag: APACHE_2_0_BETA_CANDIDATE_1~111 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6a27a17c557960e9ba86a076d273569dccf3151e;p=apache 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 --- 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 {