From e8dde70d1f1353532f7c84dda740d7d50e82c3d2 Mon Sep 17 00:00:00 2001 From: Kevin Ryde Date: Sat, 24 Apr 2004 21:04:58 +0000 Subject: [PATCH] (VALIDATE_INET6): Correction to bignum_in_ipv6_range_p call. Reported by Hyperdivision. --- libguile/socket.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/libguile/socket.c b/libguile/socket.c index 6a0bc56a8..d0cc0f889 100644 --- a/libguile/socket.c +++ b/libguile/socket.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1996,1997,1998,2000,2001, 2002 Free Software Foundation, Inc. +/* Copyright (C) 1996,1997,1998,2000,2001, 2002, 2004 Free Software Foundation, Inc. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public @@ -408,7 +408,8 @@ bignum_in_ipv6_range_p (SCM address) else\ {\ SCM_VALIDATE_BIGINT (which_arg, address);\ - SCM_ASSERT_RANGE (which_arg, address, bignum_in_ipv6_range_p);\ + SCM_ASSERT_RANGE (which_arg, address, \ + bignum_in_ipv6_range_p (address)); \ } #ifdef HAVE_INET_PTON