From: Jeff Trawick Date: Sun, 22 Oct 2000 12:53:59 +0000 (+0000) Subject: Fix the return type of ap_http_header_filter(). X-Git-Tag: APACHE_2_0_ALPHA_8~285 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=ddf387fdfb4d76d4ea8eb225644c27fad1b156ca;p=thirdparty%2Fapache%2Fhttpd.git Fix the return type of ap_http_header_filter(). git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@86698 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/include/http_protocol.h b/include/http_protocol.h index 3cdf4d72028..8ae6932ffea 100644 --- a/include/http_protocol.h +++ b/include/http_protocol.h @@ -112,7 +112,7 @@ AP_DECLARE(void) ap_basic_http_header(request_rec *r); */ AP_DECLARE(void) ap_send_http_header(request_rec *l); -AP_CORE_DECLARE_NONSTD(int) ap_http_header_filter(ap_filter_t *f, ap_bucket_brigade *b); +AP_CORE_DECLARE_NONSTD(apr_status_t) ap_http_header_filter(ap_filter_t *f, ap_bucket_brigade *b); /* Send the response to special method requests */ diff --git a/modules/http/http_protocol.c b/modules/http/http_protocol.c index 27119385328..e3cb35a68a3 100644 --- a/modules/http/http_protocol.c +++ b/modules/http/http_protocol.c @@ -2221,7 +2221,7 @@ AP_DECLARE(void) ap_send_http_header(request_rec *r) { } -AP_CORE_DECLARE_NONSTD(int) ap_http_header_filter(ap_filter_t *f, ap_bucket_brigade *b) +AP_CORE_DECLARE_NONSTD(apr_status_t) ap_http_header_filter(ap_filter_t *f, ap_bucket_brigade *b) { int i; const long int zero = 0L;