summaryrefslogtreecommitdiffstats
path: root/plugins/mmjsonparse/mmjsonparse.c
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2012-08-27 16:02:23 +0200
committerRainer Gerhards <rgerhards@adiscon.com>2012-08-27 16:02:23 +0200
commit145c78b4fee393ace6f2399c378966c8cfecf810 (patch)
treee479dd0d73be54b1f19a3fb65938f1d2e03d67e6 /plugins/mmjsonparse/mmjsonparse.c
parent3505de72636c9dd219ca586ff421a7847278998d (diff)
downloadrsyslog-145c78b4fee393ace6f2399c378966c8cfecf810.tar.gz
rsyslog-145c78b4fee393ace6f2399c378966c8cfecf810.tar.bz2
rsyslog-145c78b4fee393ace6f2399c378966c8cfecf810.zip
minor cleanup
Diffstat (limited to 'plugins/mmjsonparse/mmjsonparse.c')
-rw-r--r--plugins/mmjsonparse/mmjsonparse.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/plugins/mmjsonparse/mmjsonparse.c b/plugins/mmjsonparse/mmjsonparse.c
index c14c508b..d419f246 100644
--- a/plugins/mmjsonparse/mmjsonparse.c
+++ b/plugins/mmjsonparse/mmjsonparse.c
@@ -170,20 +170,6 @@ dbgprintf("mmjsonparse: msg is '%s'\n", buf);
dbgprintf("mmjsonparse: cookie found, rest of message: '%s'\n", buf);
CHKiRet(processJSON(pData, pMsg, (char*) buf, strlen((char*)buf)));
bSuccess = 1;
-
-#if 0
- /***DEBUG***/ // TODO: remove after initial testing - 2010-12-01
- {
- char *cstr;
- es_str_t *str;
- ee_fmtEventToJSON(pMsg->event, &str);
- cstr = es_str2cstr(str, NULL);
- dbgprintf("mmjsonparse generated: %s\n", cstr);
- free(cstr);
- es_deleteStr(str);
- }
- /***END DEBUG***/
-#endif
finalize_it:
MsgSetParseSuccess(pMsg, bSuccess);
ENDdoAction