diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2011-12-19 17:30:43 +0100 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2011-12-19 17:30:43 +0100 |
commit | 00d2ac3d712fb037411e9856e8174e9d55b5bdbc (patch) | |
tree | 9d439fc87eeef077bda652e9ce332182c139fc60 /runtime/msg.c | |
parent | b80b0672beb9b8b4d07791791bb9f2fb7c73889a (diff) | |
parent | 55db71963e312634f78c25b61dd4800036fe25f9 (diff) | |
download | rsyslog-00d2ac3d712fb037411e9856e8174e9d55b5bdbc.tar.gz rsyslog-00d2ac3d712fb037411e9856e8174e9d55b5bdbc.tar.xz rsyslog-00d2ac3d712fb037411e9856e8174e9d55b5bdbc.zip |
Merge branch 'v5-devel'
Conflicts:
ChangeLog
action.c
plugins/imudp/imudp.c
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 f4ea0cc2..7e469885 100644 --- a/runtime/msg.c +++ b/runtime/msg.c @@ -1663,8 +1663,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; @@ -1683,8 +1681,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); } |