summaryrefslogtreecommitdiff
path: root/src/journal
diff options
context:
space:
mode:
authorThomas Hindoe Paaboel Andersen <phomes@gmail.com>2014-04-23 20:32:29 +0200
committerThomas Hindoe Paaboel Andersen <phomes@gmail.com>2014-04-23 20:32:29 +0200
commit24072d36bcf6bb4bc84a2e1bbe0b3331c50c545a (patch)
tree40c4de798b25cf8491b5fb7c72d4fa0d7ae3901f /src/journal
parent4423116699faec8f550f3dac5c6887e81ec5aa7b (diff)
journal-gatewayd: bugfix for invalid level case
introduced in cafc7f91306ea17ace4a6c3d76d81c8780c87452
Diffstat (limited to 'src/journal')
-rw-r--r--src/journal/microhttpd-util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/journal/microhttpd-util.c b/src/journal/microhttpd-util.c
index f693e0f10d..9a8d5c6a12 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);
}