diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2008-02-13 07:32:46 +0000 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2008-02-13 07:32:46 +0000 |
commit | 13dfec032daeed349dbe2be9251dbc5627264d79 (patch) | |
tree | 87944083bfc124b5e35b2a87782e3d0fba0a2c0e /plugins | |
parent | 89a9e10228e18bfc175515c6c389a3780be29095 (diff) | |
download | rsyslog-13dfec032daeed349dbe2be9251dbc5627264d79.tar.gz rsyslog-13dfec032daeed349dbe2be9251dbc5627264d79.tar.bz2 rsyslog-13dfec032daeed349dbe2be9251dbc5627264d79.zip |
changed interface of logmsg() to make it more straightforward
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/imfile/imfile.c | 2 | ||||
-rw-r--r-- | plugins/imklog/imklog.c | 2 |
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; |