From 91b3e07d6e956abc6cd1d6d06a220b3d1bf816b2 Mon Sep 17 00:00:00 2001 From: Joey Schulze Date: Sun, 11 May 2008 17:04:18 +0000 Subject: [PATCH] Correct logic: flush log files independed of MARK --- syslogd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/syslogd.c b/syslogd.c index c7f2b05..95ae857 100644 --- a/syslogd.c +++ b/syslogd.c @@ -2191,6 +2191,7 @@ void domark() logmsg(LOG_MARK|LOG_INFO, "-- MARK --", LocalHostName, ADDDATE|MARK); MarkSeq -= MarkInterval; } + } #ifdef SYSV for (lognum = 0; lognum <= nlogs; lognum++) { @@ -2207,7 +2208,6 @@ void domark() DupesPending--; } } - } (void) signal(SIGALRM, domark); LastAlarm = MarkInterval - MarkSeq;