From 435884c332fbc264e6b955693492146ba85a6165 Mon Sep 17 00:00:00 2001 From: laforge Date: Wed, 4 May 2005 01:22:18 +0000 Subject: use socklen_t (Marius Tomaschewski) --- ulogd/libipulog/libipulog.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'ulogd/libipulog') 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 @@ -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)) { -- cgit v1.2.3