summaryrefslogtreecommitdiffstats
path: root/ulogd/libipulog
diff options
context:
space:
mode:
authorlaforge <laforge>2005-05-04 01:22:18 +0000
committerlaforge <laforge>2005-05-04 01:22:18 +0000
commit435884c332fbc264e6b955693492146ba85a6165 (patch)
tree8cb72b4758be70870b7ee1c9fa25fa799c0e305f /ulogd/libipulog
parent721bf5f0b8e091a890d51fa763b94e20d2ab3ad3 (diff)
use socklen_t (Marius Tomaschewski)
Diffstat (limited to 'ulogd/libipulog')
-rw-r--r--ulogd/libipulog/libipulog.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/ulogd/libipulog/libipulog.c b/ulogd/libipulog/libipulog.c
index b396829..415b712 100644
--- a/ulogd/libipulog/libipulog.c
+++ b/ulogd/libipulog/libipulog.c
@@ -1,5 +1,5 @@
/*
- * libipulog.c, $Revision: 1.11 $
+ * libipulog.c, $Revision$
*
* netfilter ULOG userspace library.
*
@@ -21,7 +21,7 @@
* This library is still under development, so be aware of sudden interface
* changes
*
- * $Id: libipulog.c,v 1.11 2003/05/04 10:00:10 laforge Exp $
+ * $Id$
*/
#include <stdlib.h>
@@ -68,7 +68,8 @@ static ssize_t
ipulog_netlink_recvfrom(const struct ipulog_handle *h,
unsigned char *buf, size_t len)
{
- int addrlen, status;
+ socklen_t addrlen;
+ int status;
struct nlmsghdr *nlh;
if (len < sizeof(struct nlmsgerr)) {