From 0bb8aa7194c95b2d8dc51477ac72d01e6a38d8cd Mon Sep 17 00:00:00 2001 From: Joey Schulze Date: Sun, 11 May 2008 17:05:24 +0000 Subject: [PATCH] Adjust indention --- syslogd.c | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/syslogd.c b/syslogd.c index 95ae857..a7a1c71 100644 --- a/syslogd.c +++ b/syslogd.c @@ -2194,20 +2194,20 @@ void domark() } #ifdef SYSV - for (lognum = 0; lognum <= nlogs; lognum++) { - f = &Files[lognum]; + for (lognum = 0; lognum <= nlogs; lognum++) { + f = &Files[lognum]; #else - for (f = Files; f; f = f->f_next) { + for (f = Files; f; f = f->f_next) { #endif - if (f->f_prevcount && now >= REPEATTIME(f)) { - dprintf("flush %s: repeated %d times, %d sec.\n", - TypeNames[f->f_type], f->f_prevcount, - repeatinterval[f->f_repeatcount]); - fprintlog(f, LocalHostName, 0, (char *)NULL); - BACKOFF(f); - DupesPending--; - } + if (f->f_prevcount && now >= REPEATTIME(f)) { + dprintf("flush %s: repeated %d times, %d sec.\n", + TypeNames[f->f_type], f->f_prevcount, + repeatinterval[f->f_repeatcount]); + fprintlog(f, LocalHostName, 0, (char *)NULL); + BACKOFF(f); + DupesPending--; } + } (void) signal(SIGALRM, domark); LastAlarm = MarkInterval - MarkSeq;