From 4bc99a5ead6892393033d22d6ce46052aca36155 Mon Sep 17 00:00:00 2001 From: Rainer Gerhards Date: Fri, 12 Sep 2008 14:46:16 +0200 Subject: bugfix: copy&paste error lead to dangling if this caused a very minor issue with re-formatting a RFC3164 date when the message was invalidly formatted and had a colon immediately after the date. This was in the code for some years (even v1 had it) and I think it never had any effect at all in practice. Though, it should be fixed - but definitely nothing to worry about. --- syslogd.c | 1 - 1 file changed, 1 deletion(-) (limited to 'syslogd.c') diff --git a/syslogd.c b/syslogd.c index a039eeed..afcc3b92 100644 --- a/syslogd.c +++ b/syslogd.c @@ -1417,7 +1417,6 @@ static int srSLMGParseTIMESTAMP3164(struct syslogTime *pTime, char* pszTS) pTime->second = srSLMGParseInt32(&pszTS); if(pTime->second < 0 || pTime->second > 60) return FALSE; - if(*pszTS++ != ':') /* OK, we actually have a 3164 timestamp, so let's indicate this * and fill the rest of the properties. */ -- cgit v1.2.3