From: laforge Date: Sun, 17 Jun 2001 20:08:30 +0000 (+0000) Subject: make it compile again (small bugfixes after sighandler checkin) X-Git-Tag: ulogd-2.0.0beta2~470 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c2ce1ede38f30d6ae2c9f646ea8b6225bdf9cd13;p=thirdparty%2Fulogd2.git make it compile again (small bugfixes after sighandler checkin) --- 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 #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.c b/ulogd.c index a13f5a0..a62331a 100644 --- a/ulogd.c +++ b/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); } }