]> granicus.if.org Git - apache/commitdiff
Fix prototype and return value of http_create_request to match new hook
authorJustin Erenkrantz <jerenkrantz@apache.org>
Thu, 7 Mar 2002 08:23:56 +0000 (08:23 +0000)
committerJustin Erenkrantz <jerenkrantz@apache.org>
Thu, 7 Mar 2002 08:23:56 +0000 (08:23 +0000)
declaration.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@93754 13f79535-47bb-0310-9956-ffa450edef68

modules/http/http_core.c

index 2d0ed64501f71d1cf18045163e6f6b1808e77e44..26e50935b65447c642930c5d8f44a0fa5955a408 100644 (file)
@@ -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)