Merge pull request #156 from filbranden/journal_leading_whitespace
journald: do not strip leading whitespace from messages
This commit is contained in:
@@ -234,7 +234,8 @@ size_t syslog_parse_identifier(const char **buf, char **identifier, char **pid)
|
||||
if (t)
|
||||
*identifier = t;
|
||||
|
||||
e += strspn(p + e, WHITESPACE);
|
||||
if (strchr(WHITESPACE, p[e]))
|
||||
e++;
|
||||
*buf = p + e;
|
||||
return e;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user