summaryrefslogtreecommitdiffstats
path: root/syslogd.c
diff options
context:
space:
mode:
Diffstat (limited to 'syslogd.c')
-rw-r--r--syslogd.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/syslogd.c b/syslogd.c
index 39c0c72d..9b6b4036 100644
--- a/syslogd.c
+++ b/syslogd.c
@@ -1493,6 +1493,11 @@ static int parseLegacySyslogMsg(msg_t *pMsg, int flags)
rsCStrAppendChar(pStrB, *p2parse++);
++iCnt;
}
+ if (iCnt == 32) {
+ while(*p2parse && *p2parse != ':' && *p2parse != ' ') {
+ *p2parse++;
+ }
+ }
if(*p2parse == ':') {
++p2parse;
rsCStrAppendChar(pStrB, ':');