aboutsummaryrefslogtreecommitdiff
path: root/ge.c
diff options
context:
space:
mode:
Diffstat (limited to 'ge.c')
-rw-r--r--ge.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/ge.c b/ge.c
index 63065aa..47ed883 100644
--- a/ge.c
+++ b/ge.c
@@ -34,8 +34,6 @@
struct conf conf;
int privsep_process;
-struct vhosthead hosts = TAILQ_HEAD_INITIALIZER(hosts);
-
static const struct option opts[] = {
{"help", no_argument, NULL, 'h'},
{"version", no_argument, NULL, 'V'},
@@ -290,7 +288,7 @@ main(int argc, char **argv)
/* set up the implicit vhost and location */
host = xcalloc(1, sizeof(*host));
- TAILQ_INSERT_HEAD(&hosts, host, vhosts);
+ TAILQ_INSERT_HEAD(&conf.hosts, host, vhosts);
loc = xcalloc(1, sizeof(*loc));
loc->fcgi = -1;