From 20b85c03e751b4876fa3c92040464e483172b746 Mon Sep 17 00:00:00 2001 From: Jannis Hoffmann Date: Wed, 3 Jul 2024 19:03:11 +0200 Subject: manual format adjustment --- src/splogger.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'src/splogger.c') diff --git a/src/splogger.c b/src/splogger.c index 2dcfe2a..55fc94a 100644 --- a/src/splogger.c +++ b/src/splogger.c @@ -50,15 +50,17 @@ int main(int argc, char **argv) { char ch; - if (argv[1]) + if (argv[1]) { if (argv[2]) { unsigned long facility; scan_ulong(argv[2], &facility); openlog(argv[1], 0, facility << 3); - } else + } else { openlog(argv[1], 0, LOG_MAIL); - else + } + } else { openlog("splogger", 0, LOG_MAIL); + } for (;;) { if (buffer_get(buffer_0, &ch, 1) < 1) _exit(0); -- cgit v1.2.3