diff options
author | Daniel Schömer <daniel.schoemer@gmx.net> | 2008-11-09 22:27:58 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2008-11-09 22:27:58 +0100 |
commit | 1256f908253c25417c82f76ce8cb154049db7948 (patch) | |
tree | 3a40e0a44b8b36b1e657c4a0b4459f1074e2ac29 /src | |
parent | c9c7dc6e0069e7e7392701e97043d19f4e21016c (diff) | |
download | mpd-1256f908253c25417c82f76ce8cb154049db7948.tar.gz mpd-1256f908253c25417c82f76ce8cb154049db7948.tar.xz mpd-1256f908253c25417c82f76ce8cb154049db7948.zip |
log: properly check log_threshold
Diffstat (limited to 'src')
-rw-r--r-- | src/log.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -159,7 +159,7 @@ void setup_log_output(bool use_stdout) #define log_func(func,level) \ mpd_printf void func(const char *fmt, ...) \ { \ - if ((int)log_threshold <= level) { \ + if (level <= (int)log_threshold) { \ va_list args; \ va_start(args, fmt); \ g_logv(NULL, level, fmt, args); \ |