blob: 7d0740eabd45ea53eaa84602d108f5e098e68f82 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
diff -pru mpd-0.14~alpha1.orig/src/log.c mpd-0.14~alpha1/src/log.c
--- mpd-0.14~alpha1.orig/src/log.c 2008-11-09 20:01:02.000000000 +0100
+++ mpd-0.14~alpha1/src/log.c 2008-11-09 20:01:16.000000000 +0100
@@ -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 ((int)log_threshold >= level) { \
va_list args; \
va_start(args, fmt); \
g_logv(NULL, level, fmt, args); \
|