summaryrefslogtreecommitdiffstats
path: root/tools/syslogd.c
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2011-02-16 11:46:56 +0100
committerRainer Gerhards <rgerhards@adiscon.com>2011-02-16 11:46:56 +0100
commit772e0ae8460478e43caac55dfa3182dd4b58b52a (patch)
tree1f9da994dc7fe06c54dc6aa0123f996c713a88bd /tools/syslogd.c
parent49c2bc380c34c346dafffe5c5a4059fa2f604680 (diff)
downloadrsyslog-772e0ae8460478e43caac55dfa3182dd4b58b52a.tar.gz
rsyslog-772e0ae8460478e43caac55dfa3182dd4b58b52a.tar.xz
rsyslog-772e0ae8460478e43caac55dfa3182dd4b58b52a.zip
cleanup: no longer parameter in iminternal system removed
Diffstat (limited to 'tools/syslogd.c')
-rw-r--r--tools/syslogd.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/tools/syslogd.c b/tools/syslogd.c
index cdb31ef6..c4a3b270 100644
--- a/tools/syslogd.c
+++ b/tools/syslogd.c
@@ -574,7 +574,7 @@ logmsgInternal(int iErr, int pri, uchar *msg, int flags)
}
if(bHaveMainQueue == 0) { /* not yet in queued mode */
- iminternalAddMsg(pri, pMsg);
+ iminternalAddMsg(pMsg);
} else {
/* we have the queue, so we can simply provide the
* message to the queue engine.
@@ -1868,10 +1868,9 @@ void sigttin_handler()
*/
static inline void processImInternal(void)
{
- int iPri;
msg_t *pMsg;
- while(iminternalRemoveMsg(&iPri, &pMsg) == RS_RET_OK) {
+ while(iminternalRemoveMsg(&pMsg) == RS_RET_OK) {
submitMsg(pMsg);
}
}