From 7394551f61a87802dca01a29173c0b87a4b128e5 Mon Sep 17 00:00:00 2001 From: Neil Jerram Date: Thu, 1 Oct 2009 22:27:07 +0100 Subject: [PATCH] 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. --- THANKS | 1 + doc/ref/posix.texi | 4 ++-- 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