diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2009-04-23 11:45:50 +0200 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2009-04-23 11:45:50 +0200 |
commit | f8d9aad08222f59ba2d27437c1e2369896452aa1 (patch) | |
tree | ae42c5926b0faa2eb48cded158b86e9ce65847b2 /plugins | |
parent | b38a2208f4f82b80679fca364cac8e66ee348d74 (diff) | |
download | rsyslog-f8d9aad08222f59ba2d27437c1e2369896452aa1.tar.gz rsyslog-f8d9aad08222f59ba2d27437c1e2369896452aa1.tar.xz rsyslog-f8d9aad08222f59ba2d27437c1e2369896452aa1.zip |
bugfix: compile problems in im3195
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/im3195/im3195.c | 3 |
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); } |