diff options
author | Neil Jerram <neil@ossau.uklinux.net> | 2009-10-01 22:27:07 +0100 |
---|---|---|
committer | Neil Jerram <neil@ossau.uklinux.net> | 2009-10-01 22:29:35 +0100 |
commit | 7394551f61a87802dca01a29173c0b87a4b128e5 (patch) | |
tree | 20338e16610f675d73a73c49608b3819ed394fc0 | |
parent | 1bfae3ccf7589ffcd611a7d58102536d83e4ff68 (diff) | |
download | guile-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-- | THANKS | 1 | ||||
-rw-r--r-- | doc/ref/posix.texi | 4 |
2 files changed, 3 insertions, 2 deletions
@@ -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 |