]> granicus.if.org Git - apache/commitdiff
change ap_hook_pre_connection from VOID to RUN_ALL
authorDoug MacEachern <dougm@apache.org>
Thu, 27 Apr 2000 23:44:16 +0000 (23:44 +0000)
committerDoug MacEachern <dougm@apache.org>
Thu, 27 Apr 2000 23:44:16 +0000 (23:44 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85066 13f79535-47bb-0310-9956-ffa450edef68

include/http_connection.h
server/connection.c

index 7b237c793f1a9dca80d164c9b6c2c21de0aa0874..8b0ce75dd72f4d5badc58ed07484f1c0b1398f0d 100644 (file)
@@ -73,7 +73,7 @@ int ap_process_http_connection(conn_rec *);
 #endif
 
   /* Hooks */
-AP_DECLARE_HOOK(void,pre_connection,(conn_rec *))
+AP_DECLARE_HOOK(int,pre_connection,(conn_rec *))
 AP_DECLARE_HOOK(int,process_connection,(conn_rec *))
 
 #ifdef __cplusplus
index eeffd8d4e7c235aa08e8359a73c89bea645524ba..f07b6f150acac3db98cbfb01a97682eb0849b2ba 100644 (file)
@@ -72,7 +72,7 @@ AP_HOOK_STRUCT(
            AP_HOOK_LINK(process_connection)
 )
 
-AP_IMPLEMENT_HOOK_VOID(pre_connection,(conn_rec *c),(c))
+AP_IMPLEMENT_HOOK_RUN_ALL(int,pre_connection,(conn_rec *c),(c),OK,DECLINED)
 AP_IMPLEMENT_HOOK_RUN_FIRST(int,process_connection,(conn_rec *c),(c),DECLINED)
 
 /*