syslogd: added comment, no code changes

This commit is contained in:
Denis Vlasenko 2009-04-22 02:53:02 +00:00
parent b029154a2a
commit 574c316e5a
1 changed files with 2 additions and 0 deletions

View File

@ -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] != ' '
) {