summaryrefslogtreecommitdiffstats
path: root/plugins/im3195
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2008-07-01 15:17:33 +0200
committerRainer Gerhards <rgerhards@adiscon.com>2008-07-01 15:17:33 +0200
commit8256a105cf47b07fc032de7828f0b069d23779e6 (patch)
tree9e7151f9691b667acda2f2ac239eb0aca759ed15 /plugins/im3195
parent4fd98529572b57f494597a34f04ced96ef1031a2 (diff)
downloadrsyslog-8256a105cf47b07fc032de7828f0b069d23779e6.tar.gz
rsyslog-8256a105cf47b07fc032de7828f0b069d23779e6.tar.xz
rsyslog-8256a105cf47b07fc032de7828f0b069d23779e6.zip
some more changes to cater for new LogError() interface
Diffstat (limited to 'plugins/im3195')
-rw-r--r--plugins/im3195/im3195.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/im3195/im3195.c b/plugins/im3195/im3195.c
index d9c220b2..32dd8dc1 100644
--- a/plugins/im3195/im3195.c
+++ b/plugins/im3195/im3195.c
@@ -98,7 +98,7 @@ CODESTARTrunInput
* return after SIGUSR1.
*/
if((iRet = srAPIRunListener(pAPI)) != SR_RET_OK) {
- errmsg.LogError(NO_ERRCODE, "error %d running liblogging listener - im3195 is defunct", iRet);
+ errmsg.LogError(0, NO_ERRCODE, "error %d running liblogging listener - im3195 is defunct", iRet);
FINALIZE; /* this causes im3195 to become defunct; TODO: recovery handling */
}
}
@@ -109,17 +109,17 @@ ENDrunInput
BEGINwillRun
CODESTARTwillRun
if((pAPI = srAPIInitLib()) == NULL) {
- errmsg.LogError(NO_ERRCODE, "error initializing liblogging - im3195 is defunct");
+ errmsg.LogError(0, NO_ERRCODE, "error initializing liblogging - im3195 is defunct");
ABORT_FINALIZE(RS_RET_ERR);
}
if((iRet = srAPISetOption(pAPI, srOPTION_BEEP_LISTENPORT, listenPort)) != SR_RET_OK) {
- errmsg.LogError(NO_ERRCODE, "error %d setting liblogging listen port - im3195 is defunct", iRet);
+ errmsg.LogError(0, NO_ERRCODE, "error %d setting liblogging listen port - im3195 is defunct", iRet);
FINALIZE;
}
if((iRet = srAPISetupListener(pAPI, OnReceive)) != SR_RET_OK) {
- errmsg.LogError(NO_ERRCODE, "error %d setting up liblogging listener - im3195 is defunct", iRet);
+ errmsg.LogError(0, NO_ERRCODE, "error %d setting up liblogging listener - im3195 is defunct", iRet);
FINALIZE;
}