diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2011-12-19 14:16:32 +0100 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2011-12-19 14:19:37 +0100 |
commit | 32203be41af9c682a4f81c629f08b0593d755f69 (patch) | |
tree | 0a098604fc795be32864d9880e9c72256c4bc7b1 /runtime/msg.c | |
parent | 58d1c9e21b2c31a1f1f6631275a6f90886321269 (diff) | |
download | rsyslog-32203be41af9c682a4f81c629f08b0593d755f69.tar.gz rsyslog-32203be41af9c682a4f81c629f08b0593d755f69.tar.xz rsyslog-32203be41af9c682a4f81c629f08b0593d755f69.zip |
better performance for action stats & cleanup: removing debug prints
Diffstat (limited to 'runtime/msg.c')
-rw-r--r-- | runtime/msg.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/runtime/msg.c b/runtime/msg.c index 0744edd5..759554d8 100644 --- a/runtime/msg.c +++ b/runtime/msg.c @@ -1671,8 +1671,6 @@ void MsgSetTAG(msg_t *pMsg, uchar* pszBuf, size_t lenBuf) uchar *pBuf; assert(pMsg != NULL); -dbgprintf("MsgSetTAG in: len %d, pszBuf: %s\n", lenBuf, pszBuf); - freeTAG(pMsg); pMsg->iLenTAG = lenBuf; @@ -1691,8 +1689,6 @@ dbgprintf("MsgSetTAG in: len %d, pszBuf: %s\n", lenBuf, pszBuf); memcpy(pBuf, pszBuf, pMsg->iLenTAG); pBuf[pMsg->iLenTAG] = '\0'; /* this also works with truncation! */ - -dbgprintf("MsgSetTAG exit: pMsg->iLenTAG %d, pMsg->TAG.szBuf: %s\n", pMsg->iLenTAG, pMsg->TAG.szBuf); } |