diff options
author | laforge <laforge> | 2001-06-17 20:08:30 +0000 |
---|---|---|
committer | laforge <laforge> | 2001-06-17 20:08:30 +0000 |
commit | c2ce1ede38f30d6ae2c9f646ea8b6225bdf9cd13 (patch) | |
tree | 6b1202be86120fa3fd46ec09dd07893d433555d3 | |
parent | efea0aa10d862a1a0e36043cfd6f712b8cd326aa (diff) |
make it compile again (small bugfixes after sighandler checkin)
-rw-r--r-- | configure.in | 4 | ||||
-rw-r--r-- | include/ulogd/ulogd.h | 5 | ||||
-rw-r--r-- | ulogd.c | 8 |
3 files changed, 9 insertions, 8 deletions
diff --git a/configure.in b/configure.in index 4e11708..fc4bb73 100644 --- a/configure.in +++ b/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/include/ulogd/ulogd.h b/include/ulogd/ulogd.h index 613bb69..fe9a818 100644 --- a/include/ulogd/ulogd.h +++ b/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 <libipulog/libipulog.h> #include <stdio.h> +#include <signal.h> /* 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 */ @@ -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); } } |