mirror of
https://github.com/systemd/systemd.git
synced 2024-11-06 08:26:52 +03:00
journal-gatewayd: bugfix for invalid level case
introduced in cafc7f9130
This commit is contained in:
parent
4423116699
commit
24072d36bc
Notes:
Lennart Poettering
2014-05-24 11:16:23 +08:00
Backport: bugfix
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user