diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2011-03-31 16:30:13 +0200 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2011-03-31 16:30:13 +0200 |
commit | 945bc9bd0d9de984ab11b9faf609b809a1f3cb90 (patch) | |
tree | f3464946b2eef29b2f8a4e54c32f7bf063a2c27f /runtime/parser.c | |
parent | f057fb2db388cc16475f9c5a7de64aeb1f3bdb43 (diff) | |
parent | eccfbf71f9dbc235309c2ad40035d41620f5e5df (diff) | |
download | rsyslog-945bc9bd0d9de984ab11b9faf609b809a1f3cb90.tar.gz rsyslog-945bc9bd0d9de984ab11b9faf609b809a1f3cb90.tar.bz2 rsyslog-945bc9bd0d9de984ab11b9faf609b809a1f3cb90.zip |
Merge branch 'v5-beta' into v5-devel
Conflicts:
ChangeLog
Diffstat (limited to 'runtime/parser.c')
-rw-r--r-- | runtime/parser.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/runtime/parser.c b/runtime/parser.c index d3644976..b385c54b 100644 --- a/runtime/parser.c +++ b/runtime/parser.c @@ -453,10 +453,10 @@ ParsePRI(msg_t *pMsg) if(pri & ~(LOG_FACMASK|LOG_PRIMASK)) pri = DEFUPRI; } + pMsg->iFacility = LOG_FAC(pri); + pMsg->iSeverity = LOG_PRI(pri); + MsgSetAfterPRIOffs(pMsg, msg - pMsg->pszRawMsg); } - pMsg->iFacility = LOG_FAC(pri); - pMsg->iSeverity = LOG_PRI(pri); - MsgSetAfterPRIOffs(pMsg, msg - pMsg->pszRawMsg); RETiRet; } |