summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 8deace5e9..e507d73ec 100644
--- a/THANKS
+++ b/THANKS
@@ -76,6 +76,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 d568af23d..36b6229bd 100644
--- a/doc/ref/posix.texi
+++ b/doc/ref/posix.texi
@@ -2860,8 +2860,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