From e32d5864aa15b8799eb18b2498d7773e06bffbb3 Mon Sep 17 00:00:00 2001 From: Justin Erenkrantz Date: Thu, 7 Mar 2002 08:23:56 +0000 Subject: [PATCH] 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 --- modules/http/http_core.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/modules/http/http_core.c b/modules/http/http_core.c index 2d0ed64501..26e50935b6 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) -- 2.40.0