summaryrefslogtreecommitdiffstats
path: root/src/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c
index 48f0c00..1f23296 100644
--- a/src/main.c
+++ b/src/main.c
@@ -20,10 +20,11 @@
#define OG_SERVER_CFG_JSON "/opt/opengnsys/cfg/ogserver.json"
+struct og_server_cfg cfg;
+
int main(int argc, char *argv[])
{
struct ev_io ev_io_server_rest, ev_io_agent_rest;
- struct og_server_cfg cfg = {};
og_loop = ev_default_loop(0);