summaryrefslogtreecommitdiffstats
path: root/plugins/imklog
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2012-03-01 12:29:19 +0100
committerRainer Gerhards <rgerhards@adiscon.com>2012-03-01 12:29:19 +0100
commit16811e2f38133c47a870382b878fc9099dbb2859 (patch)
treeb2ecbffaf7d44ad452175396226fef0c0c21093b /plugins/imklog
parent8cc6eda2c00e4efd63de0b4f69d9d66b73e3c706 (diff)
parent5a7d961304df67207489d7246a465115907dd9d8 (diff)
downloadrsyslog-16811e2f38133c47a870382b878fc9099dbb2859.tar.gz
rsyslog-16811e2f38133c47a870382b878fc9099dbb2859.tar.xz
rsyslog-16811e2f38133c47a870382b878fc9099dbb2859.zip
Merge branch 'v6-stable'
Diffstat (limited to 'plugins/imklog')
-rw-r--r--plugins/imklog/imklog.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/imklog/imklog.c b/plugins/imklog/imklog.c
index 04902dec..71cb9ac6 100644
--- a/plugins/imklog/imklog.c
+++ b/plugins/imklog/imklog.c
@@ -135,8 +135,8 @@ enqMsg(uchar *msg, uchar* pszTag, int iFacility, int iSeverity, struct timeval *
MsgSetRcvFromIP(pMsg, pLocalHostIP);
MsgSetHOSTNAME(pMsg, glbl.GetLocalHostName(), ustrlen(glbl.GetLocalHostName()));
MsgSetTAG(pMsg, pszTag, ustrlen(pszTag));
- pMsg->iFacility = LOG_FAC(iFacility);
- pMsg->iSeverity = LOG_PRI(iSeverity);
+ pMsg->iFacility = iFacility;
+ pMsg->iSeverity = iSeverity;
CHKiRet(submitMsg(pMsg));
finalize_it: