aboutsummaryrefslogtreecommitdiff
path: root/sysklogd
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2009-04-22 02:53:02 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2009-04-22 02:53:02 +0000
commit574c316e5ac576ba8f4aa07596dd21bca95eb333 (patch)
tree7264358b16e608e9c45be71c65e181909b92e83e /sysklogd
parentb029154a2a002ff4116a21c43aeb942078708838 (diff)
downloadbusybox-574c316e5ac576ba8f4aa07596dd21bca95eb333.tar.gz
syslogd: added comment, no code changes
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] != ' '
) {