diff options
author | Lennart Poettering <lennart@poettering.net> | 2010-04-04 22:54:25 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2010-04-04 22:54:25 +0200 |
commit | 6ab3c207a978f7db16cb43a2d6c10493ffab3bf5 (patch) | |
tree | fbd9f54118e036df7dd8f8ffb7a131c2bfb57a0b | |
parent | 4ca5640b272d17726ca7c4ace789d884922a3bc7 (diff) |
logger: fix return value
-rw-r--r-- | logger.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |