projects
/
tinc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
connection_t: split compression_level/log_level into two fields
[tinc]
/
src
/
logger.c
diff --git
a/src/logger.c
b/src/logger.c
index
f8e8209
..
026a120
100644
(file)
--- a/
src/logger.c
+++ b/
src/logger.c
@@
-110,7
+110,7
@@
static void real_logger(debug_t level, int priority, const char *message) {
logcontrol = true;
logcontrol = true;
- if(level > (c->
outcompression >= COMPRESS_NONE ? c->outcompression
: debug_level)) {
+ if(level > (c->
log_level != DEBUG_UNSET ? c->log_level
: debug_level)) {
continue;
}
continue;
}