diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2009-06-18 13:22:21 +0200 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2009-06-18 13:22:21 +0200 |
commit | 8628312396b1535c41124e499d292f4d1e77d955 (patch) | |
tree | d294b3fc3f9adc29b3b9137ce2bff55c21fdee81 /plugins/imklog | |
parent | f529e8b2c3bb2c087bfba3fc5610a66fdbe1a8ae (diff) | |
download | rsyslog-8628312396b1535c41124e499d292f4d1e77d955.tar.gz rsyslog-8628312396b1535c41124e499d292f4d1e77d955.tar.xz rsyslog-8628312396b1535c41124e499d292f4d1e77d955.zip |
cleaned up/optimized raw message handling in msg object
Diffstat (limited to 'plugins/imklog')
-rw-r--r-- | plugins/imklog/imklog.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/imklog/imklog.c b/plugins/imklog/imklog.c index 420ebbf1..24f15510 100644 --- a/plugins/imklog/imklog.c +++ b/plugins/imklog/imklog.c @@ -96,7 +96,7 @@ enqMsg(uchar *msg, uchar* pszTag, int iFacility, int iSeverity) CHKiRet(msgConstruct(&pMsg)); MsgSetFlowControlType(pMsg, eFLOWCTL_LIGHT_DELAY); MsgSetInputName(pMsg, UCHAR_CONSTANT("imklog"), sizeof("imklog")-1); - MsgSetRawMsg(pMsg, (char*)msg); + MsgSetRawMsgWOSize(pMsg, (char*)msg); MsgSetMSG(pMsg, (char*)msg); MsgSetRcvFrom(pMsg, glbl.GetLocalHostName()); MsgSetRcvFromIP(pMsg, (uchar*)"127.0.0.1"); |