From: Ben Laurie Date: Sat, 31 Jul 1999 09:31:21 +0000 (+0000) Subject: Break out the hook implementations into three kinds, thus avoiding null macro X-Git-Tag: mpm-merge-1~17 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=76c762ea569dc0f32bd99544d8129ce22f6bf306;p=thirdparty%2Fapache%2Fhttpd.git Break out the hook implementations into three kinds, thus avoiding null macro arguments. Gates made me do it! git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@83546 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/server/connection.c b/server/connection.c index 00ea8ab91f6..1950069dc7a 100644 --- a/server/connection.c +++ b/server/connection.c @@ -69,8 +69,8 @@ HOOK_STRUCT( HOOK_LINK(process_connection) ); -IMPLEMENT_VOID_HOOK(pre_connection,(conn_rec *c),(c)) -IMPLEMENT_HOOK(int,process_connection,(conn_rec *c),(c),RUN_FIRST,OK,DECLINED) +IMPLEMENT_HOOK_VOID(pre_connection,(conn_rec *c),(c)) +IMPLEMENT_HOOK_RUN_FIRST(int,process_connection,(conn_rec *c),(c),DECLINED) /* TODO: re-implement the lingering close stuff */ #define NO_LINGCLOSE