Commit 878d5aea authored by Jeff Trawick's avatar Jeff Trawick
Browse files

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
parent d085d2d2
Loading
Loading
Loading
Loading
+2 −4
Original line number Diff line number Diff line
@@ -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 {