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 af3293bd7e..8ce9685c62 100644
--- a/logger.c
+++ b/logger.c
@@ -564,7 +564,7 @@ int main(int argc, char *argv[]) {
if (k <= 0)
break;
- if ((r = process_event(&server, &event)) < 0)
+ if ((k = process_event(&server, &event)) < 0)
goto fail;
}
r = 0;