summaryrefslogtreecommitdiffstats
path: root/runtime/parser.c
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2009-06-16 12:31:27 +0200
committerRainer Gerhards <rgerhards@adiscon.com>2009-06-16 12:31:27 +0200
commit74b2b24f508be90d20961304d5e3cce648f3eb7c (patch)
treeb2575e22c7b6b0ced97b125c7e67417a6bbb92e6 /runtime/parser.c
parentf7579e68a67364c8040966be57c2eae4c9550ee5 (diff)
downloadrsyslog-74b2b24f508be90d20961304d5e3cce648f3eb7c.tar.gz
rsyslog-74b2b24f508be90d20961304d5e3cce648f3eb7c.tar.xz
rsyslog-74b2b24f508be90d20961304d5e3cce648f3eb7c.zip
removed long-obsoleted property UxTradMsg
... as well as some cleanup (some commented-out code is left to support UxTradMsg again is someone really complains ;)).
Diffstat (limited to 'runtime/parser.c')
-rw-r--r--runtime/parser.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/parser.c b/runtime/parser.c
index 13fb51ec..0b45bfd5 100644
--- a/runtime/parser.c
+++ b/runtime/parser.c
@@ -314,7 +314,7 @@ rsRetVal parseMsg(msg_t *pMsg)
}
pMsg->iFacility = LOG_FAC(pri);
pMsg->iSeverity = LOG_PRI(pri);
- MsgSetUxTradMsg(pMsg, (char*) msg);
+ MsgSetAfterPRIOffs(pMsg, msg - pMsg->pszRawMsg);
if(pMsg->bParseHOSTNAME == 0)
MsgSetHOSTNAME(pMsg, pMsg->pszRcvFrom);