From 62ecf51e3c652c65c84bb94d794f2533cee1fb9c Mon Sep 17 00:00:00 2001 From: Chris Hall Date: Fri, 16 Apr 2010 20:10:05 +0100 Subject: Fixes to compile on FreeBSD 8.0 with gcc 4.2.1 --- lib/sockunion.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/sockunion.c') diff --git a/lib/sockunion.c b/lib/sockunion.c index 9a063190..e08a3745 100644 --- a/lib/sockunion.c +++ b/lib/sockunion.c @@ -167,11 +167,11 @@ sockunion_set_family(sockunion su, sa_family_t family) #ifdef HAVE_STRUCT_SOCKADDR_IN_SIN_LEN if (family == AF_INET) - sockunion_sin_len(sockunion su) ; + sockunion_sin_len(su) ; #endif #if defined(HAVE_IPV6) && defined(SIN6_LEN) if (family == AF_INET6) - sockunion_sin6_len(sockunion su) ; + sockunion_sin6_len(su) ; #endif return 0 ; -- cgit v1.2.3