aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/src/debug.c
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2010-03-25 02:58:57 +0100
committerHolger Hans Peter Freyther <zecke@selfish.org>2010-03-25 02:58:57 +0100
commit2008d3f54cac8d947406943b324193b2df97f41d (patch)
tree2ef865e2f98c7cda0421b3307b8ff27a5bb9b1fd /openbsc/src/debug.c
parenta26ebe40f5a30fef9fb4bc5b65eb58123d8102bb (diff)
parentbb7bc1155fbef0be4218f3e95d37734cdc86bc3f (diff)
Merge remote branch 'origin/master' into on-waves/bsc-master
Diffstat (limited to 'openbsc/src/debug.c')
-rw-r--r--openbsc/src/debug.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/openbsc/src/debug.c b/openbsc/src/debug.c
index cff59ca36..ed2b046cc 100644
--- a/openbsc/src/debug.c
+++ b/openbsc/src/debug.c
@@ -243,7 +243,7 @@ static void _debugp(unsigned int subsys, int level, char *file, int line,
continue;
/* Check the category log level */
- if (category->loglevel != 0 && level < category->loglevel)
+ if (tar->loglevel == 0 && category->loglevel != 0 && level < category->loglevel)
continue;
/*