From 13dfec032daeed349dbe2be9251dbc5627264d79 Mon Sep 17 00:00:00 2001 From: Rainer Gerhards Date: Wed, 13 Feb 2008 07:32:46 +0000 Subject: changed interface of logmsg() to make it more straightforward --- plugins/imfile/imfile.c | 2 +- plugins/imklog/imklog.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins') diff --git a/plugins/imfile/imfile.c b/plugins/imfile/imfile.c index 1b07ee62..d37df02d 100644 --- a/plugins/imfile/imfile.c +++ b/plugins/imfile/imfile.c @@ -101,7 +101,7 @@ static rsRetVal enqLine(fileInfo_t *pInfo, uchar *pLine) pMsg->iSeverity = pInfo->iSeverity; pMsg->bParseHOSTNAME = 0; getCurrTime(&(pMsg->tTIMESTAMP)); /* use the current time! */ - logmsg(pri, pMsg, flags); /* some time, CHKiRet() will work here, too [today NOT!] */ + logmsg(pMsg, flags); /* some time, CHKiRet() will work here, too [today NOT!] */ finalize_it: RETiRet; } diff --git a/plugins/imklog/imklog.c b/plugins/imklog/imklog.c index 825ebcf4..5bc0f068 100644 --- a/plugins/imklog/imklog.c +++ b/plugins/imklog/imklog.c @@ -142,7 +142,7 @@ static rsRetVal writeSyslogV(int iPRI, const char *szFmt, va_list va) getCurrTime(&(pMsg->tTIMESTAMP)); /* use the current time! */ /* provide message to the queue engine */ - logmsg(iPRI, pMsg, INTERNAL_MSG); + logmsg(pMsg, INTERNAL_MSG); finalize_it: RETiRet; -- cgit