summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2013-11-10 11:09:57 +0100
committerRainer Gerhards <rgerhards@adiscon.com>2013-11-10 11:09:57 +0100
commitc81b2465487bc85e713e6205f03a23a874ee89bc (patch)
tree36a7cfa8b4d37b3de5e3492c7c8357d06949828d
parenta0ba62cae90af309dc7b4b5b7e8b7580eba5e23b (diff)
downloadrsyslog-c81b2465487bc85e713e6205f03a23a874ee89bc.tar.gz
rsyslog-c81b2465487bc85e713e6205f03a23a874ee89bc.tar.bz2
rsyslog-c81b2465487bc85e713e6205f03a23a874ee89bc.zip
mmanon: adjust to recent omod interface changes
-rw-r--r--plugins/mmanon/mmanon.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/mmanon/mmanon.c b/plugins/mmanon/mmanon.c
index c714706a..28797807 100644
--- a/plugins/mmanon/mmanon.c
+++ b/plugins/mmanon/mmanon.c
@@ -367,12 +367,11 @@ BEGINdoAction
int lenMsg;
int i;
CODESTARTdoAction
- pData = pWrkrData->pData;
pMsg = (msg_t*) ppString[0];
lenMsg = getMSGLen(pMsg);
msg = getMSG(pMsg);
for(i = 0 ; i < lenMsg ; ++i) {
- anonip(pData, msg, &lenMsg, &i);
+ anonip(pWrkrData->pData, msg, &lenMsg, &i);
}
if(lenMsg != getMSGLen(pMsg))
setMSGLen(pMsg, lenMsg);