From: Jan Djärv Date: Tue, 27 Nov 2007 07:38:21 +0000 (+0000) Subject: (socket_connection): Remove AI_ADDRCONFIG. X-Git-Tag: emacs-pretest-23.0.90~9414 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=7291159e257595ede482684563d5146b13f00384;p=emacs.git (socket_connection): Remove AI_ADDRCONFIG. --- diff --git a/lib-src/ChangeLog b/lib-src/ChangeLog index a4d67b80eed..1c8727c01ec 100644 --- a/lib-src/ChangeLog +++ b/lib-src/ChangeLog @@ -1,3 +1,7 @@ +2007-11-27 Jan Dj,Ad(Brv + + * pop.c (socket_connection): Remove AI_ADDRCONFIG. + 2007-11-19 Jan Dj,Ad(Brv * pop.c (socket_connection): Move realhost out of #ifdefs. diff --git a/lib-src/pop.c b/lib-src/pop.c index ea057713234..5e6623aaf8d 100644 --- a/lib-src/pop.c +++ b/lib-src/pop.c @@ -1107,7 +1107,7 @@ socket_connection (host, flags) #ifdef HAVE_GETADDRINFO memset (&hints, 0, sizeof(hints)); hints.ai_socktype = SOCK_STREAM; - hints.ai_flags = AI_ADDRCONFIG | AI_CANONNAME; + hints.ai_flags = AI_CANONNAME; hints.ai_family = AF_INET; do {