From add04ef1d674a199a392b2e4e0e1f19a185e71e9 Mon Sep 17 00:00:00 2001 From: Davide Paro Date: Tue, 19 Oct 2021 18:37:06 +0200 Subject: [PATCH] Fixed some stuff. --- src/log.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/log.c b/src/log.c index 97ed1cf..12938e9 100644 --- a/src/log.c +++ b/src/log.c @@ -36,7 +36,13 @@ static struct { int level; bool quiet; Callback callbacks[MAX_CALLBACKS]; -} L; +} L = { + NULL, + NULL, + RXI_LOGC_DEFAULT_LEVEL, + false, + {0}, +}; static const char *level_strings[] = {