summaryrefslogtreecommitdiffstats
path: root/plugins/im3195
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2009-04-09 19:17:35 +0200
committerRainer Gerhards <rgerhards@adiscon.com>2009-04-09 19:17:35 +0200
commit9633ce1afcb3c3e44f969be0503360a4c0c75599 (patch)
treea0c1f2e0cc8bd258c3289499a49b4e51d0ba271c /plugins/im3195
parente07b3f380f87166ce055ac4f3253f0367ef5cdce (diff)
downloadrsyslog-9633ce1afcb3c3e44f969be0503360a4c0c75599.tar.gz
rsyslog-9633ce1afcb3c3e44f969be0503360a4c0c75599.tar.xz
rsyslog-9633ce1afcb3c3e44f969be0503360a4c0c75599.zip
fixed compile-time problems in im3195
... however, I did not not a test run due to the lack of existing test drivers and the very low (aka "non-existing" interest from the userbase in the feature).
Diffstat (limited to 'plugins/im3195')
-rw-r--r--plugins/im3195/im3195.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/im3195/im3195.c b/plugins/im3195/im3195.c
index 1c2502fe..106da2c8 100644
--- a/plugins/im3195/im3195.c
+++ b/plugins/im3195/im3195.c
@@ -47,6 +47,7 @@
#include "liblogging/syslogmessage.h"
#include "module-template.h"
#include "cfsysline.h"
+#include "msg.h"
#include "errmsg.h"
MODULE_TYPE_INPUT
@@ -83,7 +84,7 @@ void OnReceive(srAPIObj __attribute__((unused)) *pMyAPI, srSLMGObj* pSLMG)
srSLMGGetRawMSG(pSLMG, &pszRawMsg);
parseAndSubmitMessage(fromHost, fromHostIP, pszRawMsg, strlen((char*)pszRawMsg),
- MSG_PARSE_HOSTNAME, NOFLAG, eFLOWCTL_FULL_DELAY, (uchar*)"im3195");
+ PARSE_HOSTNAME, eFLOWCTL_FULL_DELAY, (uchar*)"im3195", NULL, 0);
}