From 916449ce6e04c3238b65679ab6d92dfc8f5a211c Mon Sep 17 00:00:00 2001 From: Rainer Gerhards Date: Sun, 22 Jul 2007 10:18:45 +0000 Subject: changed interface, now is updated by rule engine --- syslogd.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'syslogd.c') diff --git a/syslogd.c b/syslogd.c index 929a3df5..aaacd983 100644 --- a/syslogd.c +++ b/syslogd.c @@ -4370,7 +4370,7 @@ void fprintlog(register selector_t *f) case F_TTY: case F_FILE: case F_PIPE: - dprintf(" (%s)\n", f->f_un.f_file.f_fname); + printf(" (%s)\n", f->f_un.f_file.f_fname); f->f_time = now; /* we need this for message repeation processing */ /* f->f_file == -1 is an indicator that the we couldn't * open the file at startup. For dynaFiles, this is ok, @@ -4382,16 +4382,19 @@ void fprintlog(register selector_t *f) case F_USERS: case F_WALL: + f->f_time = now; doActionUsrMsg(f, now); break; #ifdef WITH_DB case F_MYSQL: + f->f_time = now; doActionMySQL(f, now); break; #endif case F_SHELL: /* shell support by bkalkbrenner 2005-09-20 */ + f->f_time = now; doActionShell(f, now); break; -- cgit