[systemd-commits] src/journal

Thomas H.P. Andersen phomes at kemper.freedesktop.org
Wed Apr 23 11:34:38 PDT 2014


 src/journal/microhttpd-util.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 24072d36bcf6bb4bc84a2e1bbe0b3331c50c545a
Author: Thomas Hindoe Paaboel Andersen <phomes at gmail.com>
Date:   Wed Apr 23 20:32:29 2014 +0200

    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);
 }



More information about the systemd-commits mailing list