From 6ddb3249e6bac6c573a5ab45eba65fba91c1d9e9 Mon Sep 17 00:00:00 2001 From: Rainer Gerhards Date: Fri, 29 May 2009 13:54:53 +0200 Subject: fixed copy&paste error in previous commit (testcase was only present in v4, so I did not spot the issue immediately) --- tools/syslogd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools/syslogd.c') diff --git a/tools/syslogd.c b/tools/syslogd.c index f8149613..13eaede2 100644 --- a/tools/syslogd.c +++ b/tools/syslogd.c @@ -1252,7 +1252,7 @@ static int parseRFCStructuredData(char **pp2parse, char *pResult) if(*p2parse != '[') return 1; /* this is NOT structured data! */ - if(*p2parse != '-') { /* empty structured data? */ + if(*p2parse == '-') { /* empty structured data? */ *pResult++ = '-'; ++p2parse; } else { -- cgit v1.2.3