From 6c10fd5e3e563791008a22803a536e7436fee073 Mon Sep 17 00:00:00 2001 From: Toni Uhlig Date: Mon, 8 Jun 2020 01:20:31 +0200 Subject: log_bin2hex_sodium cares about logging prio set, fixed missing cleanup on bufferevent failure Signed-off-by: Toni Uhlig --- logging.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'logging.c') diff --git a/logging.c b/logging.c index aadfe50..3434bcd 100644 --- a/logging.c +++ b/logging.c @@ -18,9 +18,9 @@ #define DEF RESET #ifdef DEBUG_BUILD -static log_priority lower_prio = LP_DEBUG; +log_priority lower_prio = LP_DEBUG; #else -static log_priority lower_prio = NOTICE; +log_priority lower_prio = NOTICE; #endif void log_fmt_colored(log_priority prio, const char * fmt, ...) -- cgit v1.2.3