[systemd-commits] src/journal

Michal Schmidt michich at kemper.freedesktop.org
Mon May 21 11:24:33 PDT 2012


 src/journal/journald.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 401cc72da8e59a1e49acafee69280f7ebaa52e74
Author: Michal Schmidt <mschmidt at redhat.com>
Date:   Mon May 21 20:21:49 2012 +0200

    journald: one more SYSLOG_IDENTIFIER length fix

diff --git a/src/journal/journald.c b/src/journal/journald.c
index 1093f3c..9d45762 100644
--- a/src/journal/journald.c
+++ b/src/journal/journald.c
@@ -1234,7 +1234,7 @@ static void process_native_message(
                                          p[17] >= '0' && p[17] <= '9')
                                         priority = (priority & LOG_PRIMASK) | (((p[16] - '0')*10 + (p[17] - '0')) << 3);
 
-                                else if (l >= 12 &&
+                                else if (l >= 19 &&
                                          memcmp(p, "SYSLOG_IDENTIFIER=", 18) == 0) {
                                         char *t;
 



More information about the systemd-commits mailing list