From: Justin Erenkrantz Date: Thu, 7 Mar 2002 08:23:56 +0000 (+0000) Subject: Fix prototype and return value of http_create_request to match new hook X-Git-Tag: CHANGES~214 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=15584be90b4f280e9a5a8b0eff34dbf22b164a66;p=thirdparty%2Fapache%2Fhttpd.git Fix prototype and return value of http_create_request to match new hook declaration. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@93754 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/http/http_core.c b/modules/http/http_core.c index 2d0ed64501f..26e50935b65 100644 --- a/modules/http/http_core.c +++ b/modules/http/http_core.c @@ -302,7 +302,7 @@ static int ap_process_http_connection(conn_rec *c) return OK; } -static void http_create_request(request_rec *r) +static int http_create_request(request_rec *r) { if (!r->main && !r->prev) { ap_add_output_filter_handle(ap_byterange_filter_handle, @@ -312,6 +312,8 @@ static void http_create_request(request_rec *r) ap_add_output_filter_handle(ap_http_header_filter_handle, NULL, r, r->connection); } + + return OK; } static void register_hooks(apr_pool_t *p)