From c7a0ab2c2f671af06b1e2fe86b366d83d06bdbb1 Mon Sep 17 00:00:00 2001 From: Rainer Gerhards Date: Sun, 22 Jul 2007 10:20:47 +0000 Subject: changed calling interface for doAction() as a reminder for the other modules --- omusrmsg.c | 2 +- omusrmsg.h | 2 +- syslogd.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/omusrmsg.c b/omusrmsg.c index 1590c689..3ac974ac 100644 --- a/omusrmsg.c +++ b/omusrmsg.c @@ -203,7 +203,7 @@ static void wallmsg(register selector_t *f) /* call the shell action * returns 0 if it succeeds, something else otherwise */ -int doActionUsrMsg(selector_t *f, time_t now) +int doActionUsrMsg(selector_t *f) { assert(f != NULL); diff --git a/omusrmsg.h b/omusrmsg.h index 2c281825..fe176a57 100644 --- a/omusrmsg.h +++ b/omusrmsg.h @@ -26,7 +26,7 @@ /* prototypes */ -int doActionUsrMsg(selector_t *f, time_t now); +int doActionUsrMsg(selector_t *f); #endif /* #ifndef OMUSRMSG_H_INCLUDED */ /* diff --git a/syslogd.c b/syslogd.c index aaacd983..f36fb16b 100644 --- a/syslogd.c +++ b/syslogd.c @@ -4383,7 +4383,7 @@ void fprintlog(register selector_t *f) case F_USERS: case F_WALL: f->f_time = now; - doActionUsrMsg(f, now); + doActionUsrMsg(f); break; #ifdef WITH_DB -- cgit v1.2.3