summaryrefslogtreecommitdiffstats
path: root/omusrmsg.c
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2007-07-27 17:45:40 +0000
committerRainer Gerhards <rgerhards@adiscon.com>2007-07-27 17:45:40 +0000
commit29ab35e4a32b8425804a89022a9a8dd36abd1f14 (patch)
tree753d20e39abe7f2f3792eb585d641076d34c2681 /omusrmsg.c
parent853ae1a2c71a7912b4dd03e91355f240e1047b82 (diff)
downloadrsyslog-29ab35e4a32b8425804a89022a9a8dd36abd1f14.tar.gz
rsyslog-29ab35e4a32b8425804a89022a9a8dd36abd1f14.tar.xz
rsyslog-29ab35e4a32b8425804a89022a9a8dd36abd1f14.zip
removed selector_t f references from output modules
Diffstat (limited to 'omusrmsg.c')
-rw-r--r--omusrmsg.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/omusrmsg.c b/omusrmsg.c
index 96b18375..7d5c705e 100644
--- a/omusrmsg.c
+++ b/omusrmsg.c
@@ -147,7 +147,7 @@ void endutent(void)
* Adjust the size of a variable to prevent a buffer overflow
* should _PATH_DEV ever contain something different than "/dev/".
*/
-static void wallmsg(selector_t *f, uchar* pMsg, instanceData *pData)
+static void wallmsg(uchar* pMsg, instanceData *pData)
{
char p[sizeof(_PATH_DEV) + UNAMESZ];
@@ -157,7 +157,6 @@ static void wallmsg(selector_t *f, uchar* pMsg, instanceData *pData)
struct utmp ut;
struct utmp *uptr;
- assert(f != NULL);
assert(pMsg != NULL);
if (reenter++)
@@ -247,7 +246,7 @@ BEGINdoAction
CODESTARTdoAction
dprintf("\n");
/* TODO: change wallmsg so that it returns iRet */
- wallmsg(f, ppString[0], pData);
+ wallmsg(ppString[0], pData);
ENDdoAction