summaryrefslogtreecommitdiff
path: root/libguile/socket.c
diff options
context:
space:
mode:
authorKevin Ryde <user42@zip.com.au>2004-04-24 21:04:58 +0000
committerKevin Ryde <user42@zip.com.au>2004-04-24 21:04:58 +0000
commite8dde70d1f1353532f7c84dda740d7d50e82c3d2 (patch)
tree0e5f611f48a8c3d6cc3dbf0b552aa1ea691d5e12 /libguile/socket.c
parent6aef9d2b81bec29baaac9a5399a2b6f04ce35d6f (diff)
downloadguile-e8dde70d1f1353532f7c84dda740d7d50e82c3d2.tar.gz
(VALIDATE_INET6): Correction to bignum_in_ipv6_range_p
call. Reported by Hyperdivision.
Diffstat (limited to 'libguile/socket.c')
-rw-r--r--libguile/socket.c5
1 files 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