summaryrefslogtreecommitdiff
path: root/usr.sbin/httpd/control.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/httpd/control.c')
-rw-r--r--usr.sbin/httpd/control.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/httpd/control.c b/usr.sbin/httpd/control.c
index 7eea19a21d6..d282a85a316 100644
--- a/usr.sbin/httpd/control.c
+++ b/usr.sbin/httpd/control.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: control.c,v 1.13 2017/01/09 14:49:22 reyk Exp $ */
+/* $OpenBSD: control.c,v 1.14 2021/04/20 21:11:56 dv Exp $ */
/*
* Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org>
@@ -34,7 +34,7 @@
#define CONTROL_BACKLOG 5
-struct ctl_connlist ctl_conns;
+struct ctl_connlist ctl_conns = TAILQ_HEAD_INITIALIZER(ctl_conns);
void control_accept(int, short, void *);
void control_close(int, struct control_sock *);