]> git.ipfire.org Git - thirdparty/ulogd2.git/commitdiff
3rd attemt to make it right :)
authorlaforge <laforge>
Wed, 4 Jul 2001 00:22:54 +0000 (00:22 +0000)
committerlaforge <laforge>
Wed, 4 Jul 2001 00:22:54 +0000 (00:22 +0000)
libipulog/libipulog.c
ulogd.c

index 0d4b9fb7d823f7615050804c6403d19c2a2e30a2..5e7309916f224d82a40966b0f933aa08b648e59c 100644 (file)
@@ -1,5 +1,5 @@
 /* 
- * libipulog.c, $Revision: 1.6 $
+ * libipulog.c, $Revision: 1.7 $
  *
  * netfilter ULOG userspace library.
  *
@@ -9,7 +9,7 @@
  * This library is still under development, so be aware of sudden interface
  * changes
  *
- * $Id: libipulog.c,v 1.6 2001/01/30 09:28:04 laforge Exp $
+ * $Id: libipulog.c,v 1.7 2001/02/03 18:38:31 laforge Exp $
  */
 
 #include <stdlib.h>
@@ -68,7 +68,8 @@ struct ipulog_errmap_t
        { IPULOG_ERR_INVNL, "Invalid netlink message" },
 };
 
-static ssize_t ipulog_netlink_recvfrom(const struct ipulog_handle *h,
+static ssize_t 
+ipulog_netlink_recvfrom(const struct ipulog_handle *h,
                        unsigned char *buf, size_t len)
 {
        int addrlen, status;
diff --git a/ulogd.c b/ulogd.c
index d390ccbf85836e11a5f5145924845b1b805fb9fe..18cb9499b70cbfe65ddf0654a94e40e692b7997d 100644 (file)
--- a/ulogd.c
+++ b/ulogd.c
@@ -1,6 +1,6 @@
-/* ulogd, Version $Revision: 1.20 $
+/* ulogd, Version $Revision: 1.21 $
  *
- * $Id: ulogd.c,v 1.20 2001/07/03 14:37:10 laforge Exp $
+ * $Id: ulogd.c,v 1.21 2001/07/03 14:44:25 laforge Exp $
  *
  * userspace logging daemon for the netfilter ULOG target
  * of the linux 2.4 netfilter subsystem.
@@ -528,7 +528,7 @@ static void sighup_handler(int signal)
 
 int main(int argc, char* argv[])
 {
-       size_t len;
+       int len;
        ulog_packet_msg_t *upkt;
 
        if (init_conffile(ULOGD_CONFIGFILE)) {