summaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2008-02-13 07:32:46 +0000
committerRainer Gerhards <rgerhards@adiscon.com>2008-02-13 07:32:46 +0000
commit13dfec032daeed349dbe2be9251dbc5627264d79 (patch)
tree87944083bfc124b5e35b2a87782e3d0fba0a2c0e /plugins
parent89a9e10228e18bfc175515c6c389a3780be29095 (diff)
downloadrsyslog-13dfec032daeed349dbe2be9251dbc5627264d79.tar.gz
rsyslog-13dfec032daeed349dbe2be9251dbc5627264d79.tar.xz
rsyslog-13dfec032daeed349dbe2be9251dbc5627264d79.zip
changed interface of logmsg() to make it more straightforward
Diffstat (limited to 'plugins')
-rw-r--r--plugins/imfile/imfile.c2
-rw-r--r--plugins/imklog/imklog.c2
2 files changed, 2 insertions, 2 deletions
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;