Correct logic: flush log files independed of MARK

This commit is contained in:
Joey Schulze 2008-05-11 17:04:18 +00:00
parent 7bded835a2
commit 91b3e07d6e

View File

@ -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;