mirror of
https://github.com/clearlinux/systemd-stable.git
synced 2026-09-27 08:30:09 +00:00
journal-gatewayd: bugfix for invalid level case
introduced in cafc7f9130
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user