]> err.no Git - systemd/commitdiff
journald: one more SYSLOG_IDENTIFIER length fix
authorMichal Schmidt <mschmidt@redhat.com>
Mon, 21 May 2012 18:21:49 +0000 (20:21 +0200)
committerMichal Schmidt <mschmidt@redhat.com>
Mon, 21 May 2012 18:21:49 +0000 (20:21 +0200)
src/journal/journald.c

index 1093f3c9c8cd39dbbb00705ca77a4db4883b9853..9d45762e2521b5c27437593e55df4691a2ca1cbb 100644 (file)
@@ -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;