summaryrefslogtreecommitdiff
path: root/logger.c
diff options
context:
space:
mode:
Diffstat (limited to 'logger.c')
-rw-r--r--logger.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/logger.c b/logger.c
index cb92d64..4a38734 100644
--- a/logger.c
+++ b/logger.c
@@ -447,7 +447,7 @@ static int logger_thread_poll_watchers(int force_poll, int watcher) {
nfd = 0;
for (x = 0; x < WATCHER_LIMIT; x++) {
logger_watcher *w = watchers[x];
- if (w == NULL)
+ if (w == NULL || (watcher != WATCHER_ALL && x != watcher))
continue;
data_size = 0;