From 138afedddb574993d5149a3628c9ba897459d469 Mon Sep 17 00:00:00 2001 From: laforge Date: Sun, 17 Jun 2001 20:08:30 +0000 Subject: make it compile again (small bugfixes after sighandler checkin) --- ulogd/configure.in | 4 ++-- ulogd/include/ulogd/ulogd.h | 5 +++-- ulogd/ulogd.c | 8 ++++---- 3 files changed, 9 insertions(+), 8 deletions(-) diff --git a/ulogd/configure.in b/ulogd/configure.in index 4e11708..fc4bb73 100644 --- a/ulogd/configure.in +++ b/ulogd/configure.in @@ -100,9 +100,9 @@ else if test "x$MYSQL_FUNCTION_TEST" = x then EXTRA_MYSQL_DEF="OLD_MYSQL=1 " - AC_MSG_RESULT(found an older version of MySQL) + AC_MSG_RESULT(found old MySQL) else - AC_MSG_RESULT(found a newer version of MySQL) + AC_MSG_RESULT(found new MySQL) fi fi diff --git a/ulogd/include/ulogd/ulogd.h b/ulogd/include/ulogd/ulogd.h index 613bb69..fe9a818 100644 --- a/ulogd/include/ulogd/ulogd.h +++ b/ulogd/include/ulogd/ulogd.h @@ -1,6 +1,6 @@ #ifndef _ULOGD_H #define _ULOGD_H -/* ulogd, Version $Revision: 1.13 $ +/* ulogd, Version $Revision: 1.14 $ * * userspace logging daemon for netfilter ULOG target * of the linux 2.4 netfilter subsystem. @@ -9,11 +9,12 @@ * * this code is released under the terms of GNU GPL * - * $Id: ulogd.h,v 1.13 2001/05/26 23:19:28 laforge Exp $ + * $Id: ulogd.h,v 1.14 2001/06/14 19:25:25 laforge Exp $ */ #include #include +#include /* need this because of extension-sighandler */ /* All types with MSB = 1 make use of value.ptr * other types use one of the union's member */ diff --git a/ulogd/ulogd.c b/ulogd/ulogd.c index a13f5a0..a62331a 100644 --- a/ulogd/ulogd.c +++ b/ulogd/ulogd.c @@ -1,6 +1,6 @@ -/* ulogd, Version $Revision: 1.16 $ +/* ulogd, Version $Revision: 1.17 $ * - * $Id: ulogd.c,v 1.16 2001/05/26 23:19:28 laforge Exp $ + * $Id: ulogd.c,v 1.17 2001/06/14 19:25:25 laforge Exp $ * * userspace logging daemon for the netfilter ULOG target * of the linux 2.4 netfilter subsystem. @@ -521,8 +521,8 @@ static void sighup_handler(int signal) ulogd_log(ULOGD_NOTICE, "sighup received, calling plugin handlers\n"); for (p = ulogd_outputs; p; p = p->next) { - if (p->sighup) - (*p->sighup)(SIGHUP); + if (p->signal) + (*p->signal)(SIGHUP); } } -- cgit v1.2.3