aboutsummaryrefslogtreecommitdiff
path: root/sysklogd
diff options
context:
space:
mode:
Diffstat (limited to 'sysklogd')
-rw-r--r--sysklogd/syslogd.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sysklogd/syslogd.c b/sysklogd/syslogd.c
index 7ab9620fb..90866c8a8 100644
--- a/sysklogd/syslogd.c
+++ b/sysklogd/syslogd.c
@@ -423,6 +423,8 @@ static void timestamp_and_log(int pri, char *msg, int len)
char *timestamp;
time_t now;
+ /* Jan 18 00:11:22 msg... */
+ /* 01234567890123456 */
if (len < 16 || msg[3] != ' ' || msg[6] != ' '
|| msg[9] != ':' || msg[12] != ':' || msg[15] != ' '
) {