From c184561fb32b7c62ef2d0e10e3ae1a958109a9e7 Mon Sep 17 00:00:00 2001 From: Bill Stoddard Date: Mon, 9 Oct 2000 16:35:20 +0000 Subject: [PATCH] Fix bug which would cause offset to be ignored in send_the_file() if there were no headers to send. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@86477 13f79535-47bb-0310-9956-ffa450edef68 --- modules/http/http_core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/http/http_core.c b/modules/http/http_core.c index 330cf95ba0..3d6f58e153 100644 --- a/modules/http/http_core.c +++ b/modules/http/http_core.c @@ -2582,7 +2582,7 @@ static apr_status_t send_the_file(conn_rec *c, apr_file_t *fd, apr_hdtr_t *hdtr, apr_off_t offset, apr_size_t length, apr_size_t *nbytes) { - apr_status_t rv = APR_EINIT; + apr_status_t rv = APR_SUCCESS; apr_size_t n = length; apr_int32_t sendlen = 0; apr_int32_t togo; -- 2.50.1