summaryrefslogtreecommitdiff
path: root/httpd.c
diff options
context:
space:
mode:
authordefault <nobody@localhost>2022-09-21 18:13:11 +0200
committerdefault <nobody@localhost>2022-09-21 18:13:11 +0200
commit7efb6d5833c20a82ccb4bf2c89e5ce43831db540 (patch)
tree3791694d2e5c5ec5a24981e6fa2aa7e11e04c89c /httpd.c
parent8e653d201fb182e517df125d410a1553c6132d0d (diff)
New flag srv_running.
Diffstat (limited to 'httpd.c')
-rw-r--r--httpd.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/httpd.c b/httpd.c
index d849c98..3d4975e 100644
--- a/httpd.c
+++ b/httpd.c
@@ -42,6 +42,8 @@ void httpd(void)
return;
}
+ srv_running = 1;
+
srv_log(xs_fmt("httpd start %s:%d", address, port));
for (;;) {