summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2009-03-10 22:36:40 +0100
committerRainer Gerhards <rgerhards@adiscon.com>2009-03-10 22:36:40 +0100
commit59192611db992e7357337beb8e68ec6cee5b3fec (patch)
treee3f46ed076100398b4e66b9919a00005df09dc4b /tools
parent42db7de5968d2db0fa855a9f029f6bccc0a30650 (diff)
downloadrsyslog-59192611db992e7357337beb8e68ec6cee5b3fec.tar.gz
rsyslog-59192611db992e7357337beb8e68ec6cee5b3fec.tar.xz
rsyslog-59192611db992e7357337beb8e68ec6cee5b3fec.zip
bugfix: parser did not correctly parse fields in UDP-received messages
Diffstat (limited to 'tools')
-rw-r--r--tools/syslogd.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/syslogd.c b/tools/syslogd.c
index 6b8ce82f..eb496521 100644
--- a/tools/syslogd.c
+++ b/tools/syslogd.c
@@ -1335,6 +1335,7 @@ int parseRFCSyslogMsg(msg_t *pMsg, int flags)
char *pBuf;
int bContParse = 1;
+ BEGINfunc
assert(pMsg != NULL);
assert(pMsg->pszUxTradMsg != NULL);
p2parse = (char*) pMsg->pszUxTradMsg;
@@ -1408,6 +1409,7 @@ int parseRFCSyslogMsg(msg_t *pMsg, int flags)
MsgSetMSG(pMsg, p2parse);
free(pBuf);
+ ENDfunc
return 0; /* all ok */
}