aboutsummaryrefslogtreecommitdiff
path: root/config.c
diff options
context:
space:
mode:
authorReyk Floeter <reyk@esdenera.com>2014-07-12 19:29:57 +0200
committerReyk Floeter <reyk@esdenera.com>2014-07-12 19:29:57 +0200
commit281824d5faf0354c2c0d6912c10494b9b014f12b (patch)
treeb7d021bea5ff6163453b5ad01b2e91513dd87572 /config.c
parent703416e3aa51f7b68108b4c726e78972fbfbf8d4 (diff)
downloadhttpd-281824d5faf0354c2c0d6912c10494b9b014f12b.tar.gz
httpd-281824d5faf0354c2c0d6912c10494b9b014f12b.zip
Initial server configuration
Diffstat (limited to 'config.c')
-rw-r--r--config.c10
1 files changed, 2 insertions, 8 deletions
diff --git a/config.c b/config.c
index 8a64c4b..bc26f7d 100644
--- a/config.c
+++ b/config.c
@@ -64,16 +64,10 @@ config_init(struct httpd *env)
what = ps->ps_what[privsep_process];
if (what & CONFIG_SERVERS) {
-#if 0
if ((env->sc_servers =
- calloc(1, sizeof(*env->sc_relays))) == NULL)
+ calloc(1, sizeof(*env->sc_servers))) == NULL)
return (-1);
- TAILQ_INIT(env->sc_relays);
- if ((env->sc_pkeys =
- calloc(1, sizeof(*env->sc_pkeys))) == NULL)
- return (-1);
- TAILQ_INIT(env->sc_pkeys);
-#endif
+ TAILQ_INIT(env->sc_servers);
}
return (0);