From 6ab3c207a978f7db16cb43a2d6c10493ffab3bf5 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Sun, 4 Apr 2010 22:54:25 +0200 Subject: [PATCH] logger: fix return value --- logger.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/logger.c b/logger.c index af3293bd..8ce9685c 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; -- 2.39.5