From 24072d36bcf6bb4bc84a2e1bbe0b3331c50c545a Mon Sep 17 00:00:00 2001 From: Thomas Hindoe Paaboel Andersen Date: Wed, 23 Apr 2014 20:32:29 +0200 Subject: [PATCH] journal-gatewayd: bugfix for invalid level case introduced in cafc7f91306ea17ace4a6c3d76d81c8780c87452 --- src/journal/microhttpd-util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/journal/microhttpd-util.c b/src/journal/microhttpd-util.c index f693e0f10..9a8d5c6a1 100644 --- a/src/journal/microhttpd-util.c +++ b/src/journal/microhttpd-util.c @@ -129,7 +129,7 @@ void log_func_gnutls(int level, const char *message) { if (0 <= level && level < (int) ELEMENTSOF(log_level_map)) ourlevel = log_level_map[level]; else - level = LOG_DEBUG; + ourlevel = LOG_DEBUG; log_meta(ourlevel, NULL, 0, NULL, "gnutls: %s", message); } -- 2.30.2