diff options
-rw-r--r-- | ChangeLog | 1 | ||||
-rw-r--r-- | tools/syslogd.c | 2 |
2 files changed, 2 insertions, 1 deletions
@@ -15,6 +15,7 @@ Version 3.22.1 [v3-stable] (rgerhards), 2009-04-?? are specified. Thanks to Michael Biebl for helping to debug this one. - relaxed GnuTLS version requirement to 1.4.0 after confirmation from the field that this version is sufficient +- bugfix: parser did not properly handle empty structured data --------------------------------------------------------------------------- Version 3.22.0 [v3-stable] (rgerhards), 2009-04-21 This is the first stable release that includes the full functionality 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 { |