mirror of
https://codeberg.org/grunfink/snac2.git
synced 2024-11-22 05:15:04 +00:00
New flag srv_running.
This commit is contained in:
parent
8e653d201f
commit
7efb6d5833
3 changed files with 4 additions and 0 deletions
2
httpd.c
2
httpd.c
|
@ -42,6 +42,8 @@ void httpd(void)
|
|||
return;
|
||||
}
|
||||
|
||||
srv_running = 1;
|
||||
|
||||
srv_log(xs_fmt("httpd start %s:%d", address, port));
|
||||
|
||||
for (;;) {
|
||||
|
|
1
snac.c
1
snac.c
|
@ -20,6 +20,7 @@
|
|||
d_char *srv_basedir = NULL;
|
||||
d_char *srv_config = NULL;
|
||||
d_char *srv_baseurl = NULL;
|
||||
int srv_running = 0;
|
||||
|
||||
int dbglevel = 0;
|
||||
|
||||
|
|
1
snac.h
1
snac.h
|
@ -4,6 +4,7 @@
|
|||
extern d_char *srv_basedir;
|
||||
extern d_char *srv_config;
|
||||
extern d_char *srv_baseurl;
|
||||
extern int srv_running;
|
||||
|
||||
extern int dbglevel;
|
||||
|
||||
|
|
Loading…
Reference in a new issue