Skip to content

Commit 360dfe4

Browse files
committed
Fix #98: fprintlog_first(), drop superfluous call
The call to check_timestamp() is not needed (anymore) already called in logmsg(), which is the only way of entering this function (today). Signed-off-by: Joachim Wiberg <[email protected]>
1 parent 979edb2 commit 360dfe4

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/syslogd.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2424,9 +2424,6 @@ static void fprintlog_first(struct filed *f, struct buf_msg *buffer)
24242424

24252425
logit("Called fprintlog_first(), ");
24262426

2427-
/* Messages generated by syslogd itself may not have a timestamp */
2428-
check_timestamp(buffer);
2429-
24302427
if (f->f_type != F_FORW_SUSP && f->f_type != F_FORW_UNKN) {
24312428
f->f_time = timer_now();
24322429
f->f_prevcount = 0;

0 commit comments

Comments
 (0)