From 65f5173c2aef3149fd304c8951ff10e71b761939 Mon Sep 17 00:00:00 2001 From: default Date: Mon, 5 Jun 2023 18:18:50 +0200 Subject: [PATCH] Moved srv_running variable to httpd.c. --- httpd.c | 1 + snac.c | 1 - snac.h | 1 - 3 files changed, 1 insertion(+), 2 deletions(-) diff --git a/httpd.c b/httpd.c index f883f3f..9703a1f 100644 --- a/httpd.c +++ b/httpd.c @@ -24,6 +24,7 @@ #include #endif +int srv_running = 0; /* nodeinfo 2.0 template */ const char *nodeinfo_2_0_template = "" diff --git a/snac.c b/snac.c index 48353f1..d0b1fd1 100644 --- a/snac.c +++ b/snac.c @@ -25,7 +25,6 @@ d_char *srv_basedir = NULL; d_char *srv_config = NULL; d_char *srv_baseurl = NULL; -int srv_running = 0; int dbglevel = 0; diff --git a/snac.h b/snac.h index cfe64f5..c87f9d4 100644 --- a/snac.h +++ b/snac.h @@ -15,7 +15,6 @@ extern double disk_layout; extern d_char *srv_basedir; extern d_char *srv_config; extern d_char *srv_baseurl; -extern int srv_running; extern int dbglevel;