summaryrefslogtreecommitdiffstats
path: root/server/vhost.c
diff options
context:
space:
mode:
authorJoe Orton <jorton@apache.org>2018-04-12 16:47:38 +0200
committerJoe Orton <jorton@apache.org>2018-04-12 16:47:38 +0200
commit528f71d454efba2288501b441bd84e9690014548 (patch)
treeade12c4011819d83952252bf3a251e84eaabbb3b /server/vhost.c
parentadd log id for r1828926 (diff)
downloadapache2-528f71d454efba2288501b441bd84e9690014548.tar.xz
apache2-528f71d454efba2288501b441bd84e9690014548.zip
* server/vhost.c: Remove redundant vhost_check_config hook which never
fails, r1053230 removed all the places where config_error was set. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1828983 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'server/vhost.c')
-rw-r--r--server/vhost.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/server/vhost.c b/server/vhost.c
index f71deb4948..dc9689d2c0 100644
--- a/server/vhost.c
+++ b/server/vhost.c
@@ -98,13 +98,6 @@ static ipaddr_chain *iphash_table[IPHASH_TABLE_SIZE];
/* list of the _default_ servers */
static ipaddr_chain *default_list;
-/* whether a config error was seen */
-static int config_error = 0;
-
-/* config check function */
-static int vhost_check_config(apr_pool_t *p, apr_pool_t *plog,
- apr_pool_t *ptemp, server_rec *s);
-
/*
* How it's used:
*
@@ -133,7 +126,6 @@ AP_DECLARE(void) ap_init_vhost_config(apr_pool_t *p)
{
memset(iphash_table, 0, sizeof(iphash_table));
default_list = NULL;
- ap_hook_check_config(vhost_check_config, NULL, NULL, APR_HOOK_MIDDLE);
}
@@ -694,12 +686,6 @@ AP_DECLARE(void) ap_fini_vhost_config(apr_pool_t *p, server_rec *main_s)
}
}
-static int vhost_check_config(apr_pool_t *p, apr_pool_t *plog,
- apr_pool_t *ptemp, server_rec *s)
-{
- return config_error ? !OK : OK;
-}
-
/*****************************************************************************
* run-time vhost matching functions
*/