projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b029154
)
syslogd: added comment, no code changes
author
Denis Vlasenko
<vda.linux@googlemail.com>
Wed, 22 Apr 2009 02:53:02 +0000
(
02:53
-0000)
committer
Denis Vlasenko
<vda.linux@googlemail.com>
Wed, 22 Apr 2009 02:53:02 +0000
(
02:53
-0000)
sysklogd/syslogd.c
patch
|
blob
|
history
diff --git
a/sysklogd/syslogd.c
b/sysklogd/syslogd.c
index 7ab9620fb0130f5c485841f883e9c8598c3dfdab..90866c8a8f3b5ae64502aaff25e1bd55bd94f129 100644
(file)
--- 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] != ' '
) {