]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
The pre_config hook now takes a return value. This allows modules to
authorAaron Bannert <aaron@apache.org>
Mon, 28 Jan 2002 23:49:40 +0000 (23:49 +0000)
committerAaron Bannert <aaron@apache.org>
Mon, 28 Jan 2002 23:49:40 +0000 (23:49 +0000)
cause the server to bail out under error conditions.

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

mod_ssl.c

index 71a81e26e70c7e90dc5ac350f4b50c8d292f5ee4..4a7082469dc2b013b110fb9f3a506e60861a2f6e 100644 (file)
--- a/mod_ssl.c
+++ b/mod_ssl.c
@@ -204,7 +204,7 @@ static const command_rec ssl_config_cmds[] = {
  *  the various processing hooks
  */
 
-static void ssl_hook_pre_config(
+static int ssl_hook_pre_config(
     apr_pool_t *pconf, apr_pool_t *plog, apr_pool_t *ptemp)
 {
     /* Register us to handle mod_log_config %c/%x variables */
@@ -215,6 +215,8 @@ static void ssl_hook_pre_config(
     /* XXX: Register us to handle mod_status extensions that don't exist yet */
     ssl_scache_status_register(pconf);
 #endif /* -0- */
+
+    return OK;
 }
 
 static int ssl_hook_pre_connection(conn_rec *c)