From: Thomas Hindoe Paaboel Andersen Date: Wed, 23 Apr 2014 18:32:29 +0000 (+0200) Subject: journal-gatewayd: bugfix for invalid level case X-Git-Tag: v213~329 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=24072d36bcf6bb4bc84a2e1bbe0b3331c50c545a;p=platform%2Fupstream%2Fsystemd.git journal-gatewayd: bugfix for invalid level case introduced in cafc7f91306ea17ace4a6c3d76d81c8780c87452 --- diff --git a/src/journal/microhttpd-util.c b/src/journal/microhttpd-util.c index f693e0f..9a8d5c6 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); }