diff options
author | Ian Holsman <ianh@apache.org> | 2001-11-23 17:35:22 +0100 |
---|---|---|
committer | Ian Holsman <ianh@apache.org> | 2001-11-23 17:35:22 +0100 |
commit | 86b792b21c8bdab5ef9416d1bef14f849ad8f702 (patch) | |
tree | 0325a6668e30c94aad21e0e7f0ecba9e00194ee0 /modules/mappers/mod_rewrite.h | |
parent | make doxygen stop complianing about some netware specific C calls (diff) | |
download | apache2-86b792b21c8bdab5ef9416d1bef14f849ad8f702.tar.xz apache2-86b792b21c8bdab5ef9416d1bef14f849ad8f702.zip |
Modify post_config hook so that it can return a error,
causing the server not to start.
previous method was to call exit(1) which would not fail
gracefully
PR:
Obtained from:
Submitted by:
Reviewed by: (Idea only Jeff Trawick)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92144 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'modules/mappers/mod_rewrite.h')
-rw-r--r-- | modules/mappers/mod_rewrite.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/mappers/mod_rewrite.h b/modules/mappers/mod_rewrite.h index 2470989d4f..b885e181f0 100644 --- a/modules/mappers/mod_rewrite.h +++ b/modules/mappers/mod_rewrite.h @@ -385,7 +385,7 @@ static const char *cmd_rewriterule_setflag(apr_pool_t *p, rewriterule_entry *cfg char *key, char *val); /* initialisation */ -static void init_module(apr_pool_t *p, +static int init_module(apr_pool_t *p, apr_pool_t *plog, apr_pool_t *ptemp, server_rec *s); |