From b86b5deabd60d786e3c34abfe6c23ddcff6a2700 Mon Sep 17 00:00:00 2001 From: Cliff Woolley Date: Mon, 3 Dec 2001 08:36:17 +0000 Subject: [PATCH] Fix prototype for post_config hook git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92294 13f79535-47bb-0310-9956-ffa450edef68 --- server/mpm/experimental/perchild/perchild.c | 3 ++- server/mpm/perchild/perchild.c | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/server/mpm/experimental/perchild/perchild.c b/server/mpm/experimental/perchild/perchild.c index fe670ea6d2..600b4a51e9 100644 --- a/server/mpm/experimental/perchild/perchild.c +++ b/server/mpm/experimental/perchild/perchild.c @@ -1454,7 +1454,7 @@ static char *make_perchild_socket(const char *fullsockname, int sd[2]) } -static void perchild_post_config(apr_pool_t *p, apr_pool_t *plog, apr_pool_t *ptemp, server_rec *s) +static int perchild_post_config(apr_pool_t *p, apr_pool_t *plog, apr_pool_t *ptemp, server_rec *s) { int i; server_rec *sr; @@ -1486,6 +1486,7 @@ static void perchild_post_config(apr_pool_t *p, apr_pool_t *plog, apr_pool_t *pt child_info_table[i].sd = def_sd[0]; } } + return OK; } static int perchild_post_read(request_rec *r) diff --git a/server/mpm/perchild/perchild.c b/server/mpm/perchild/perchild.c index fe670ea6d2..600b4a51e9 100644 --- a/server/mpm/perchild/perchild.c +++ b/server/mpm/perchild/perchild.c @@ -1454,7 +1454,7 @@ static char *make_perchild_socket(const char *fullsockname, int sd[2]) } -static void perchild_post_config(apr_pool_t *p, apr_pool_t *plog, apr_pool_t *ptemp, server_rec *s) +static int perchild_post_config(apr_pool_t *p, apr_pool_t *plog, apr_pool_t *ptemp, server_rec *s) { int i; server_rec *sr; @@ -1486,6 +1486,7 @@ static void perchild_post_config(apr_pool_t *p, apr_pool_t *plog, apr_pool_t *pt child_info_table[i].sd = def_sd[0]; } } + return OK; } static int perchild_post_read(request_rec *r) -- 2.40.0