summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNeil Jerram <neil@ossau.uklinux.net>2009-10-01 22:27:07 +0100
committerNeil Jerram <neil@ossau.uklinux.net>2009-10-01 22:29:35 +0100
commit7394551f61a87802dca01a29173c0b87a4b128e5 (patch)
tree20338e16610f675d73a73c49608b3819ed394fc0
parent1bfae3ccf7589ffcd611a7d58102536d83e4ff68 (diff)
downloadguile-7394551f61a87802dca01a29173c0b87a4b128e5.tar.gz
Fix incorrect doc mentions of INADDR_LOCALHOST
Thanks to Scott McPeak for reporting this. * doc/ref/posix.texi (Network Sockets and Communication): Change INADDR_LOCALHOST to INADDR_LOOPBACK.
-rw-r--r--THANKS1
-rw-r--r--doc/ref/posix.texi4
2 files changed, 3 insertions, 2 deletions
diff --git a/THANKS b/THANKS
index 91f4f9825..5cc88b3de 100644
--- a/THANKS
+++ b/THANKS
@@ -72,6 +72,7 @@ For fixes or providing information which led to a fix:
Antoine Mathys
Dan McMahill
Roger Mc Murtrie
+ Scott McPeak
Tim Mooney
Han-Wen Nienhuys
Jan Nieuwenhuizen
diff --git a/doc/ref/posix.texi b/doc/ref/posix.texi
index 1cb273a8c..84ccd035f 100644
--- a/doc/ref/posix.texi
+++ b/doc/ref/posix.texi
@@ -2882,8 +2882,8 @@ same as @code{make-socket-address} would take to make such an object
(@pxref{Network Socket Address}). The return value is unspecified.
@example
-(connect sock AF_INET INADDR_LOCALHOST 23)
-(connect sock (make-socket-address AF_INET INADDR_LOCALHOST 23))
+(connect sock AF_INET INADDR_LOOPBACK 23)
+(connect sock (make-socket-address AF_INET INADDR_LOOPBACK 23))
@end example
@end deffn