diff options
author | Michael Biebl <biebl@debian.org> | 2011-03-29 18:38:20 +0200 |
---|---|---|
committer | Michael Biebl <biebl@debian.org> | 2011-03-29 18:38:20 +0200 |
commit | bf9714f547781f6d18f260db7bafec62391dfd6b (patch) | |
tree | 8674c17aaacd8a235b6ca6e0cfb83f4c466db8b3 /runtime/parser.c | |
parent | dea543841bb1f1c46586a68da21d55b44c6bf158 (diff) | |
download | rsyslog-upstream/5.7.10.tar.gz |
Imported Upstream version 5.7.10upstream/5.7.10
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 d364497..b385c54 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; } |