summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2007-07-22 10:20:47 +0000
committerRainer Gerhards <rgerhards@adiscon.com>2007-07-22 10:20:47 +0000
commitc7a0ab2c2f671af06b1e2fe86b366d83d06bdbb1 (patch)
treee21ffca888e1097b2a3aaae22db7ffc7fcf49b9d
parent916449ce6e04c3238b65679ab6d92dfc8f5a211c (diff)
downloadrsyslog-c7a0ab2c2f671af06b1e2fe86b366d83d06bdbb1.tar.gz
rsyslog-c7a0ab2c2f671af06b1e2fe86b366d83d06bdbb1.tar.xz
rsyslog-c7a0ab2c2f671af06b1e2fe86b366d83d06bdbb1.zip
changed calling interface for doAction() as a reminder for the other
modules
-rw-r--r--omusrmsg.c2
-rw-r--r--omusrmsg.h2
-rw-r--r--syslogd.c2
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