[SCM] GNU gnutls branch, master, updated. gnutls_3_0_10-3-g38718fe

"Nikos Mavrogiannopoulos" <[email protected]>
Newsgroups gmane.comp.encryption.gpg.gnutls.cvs
Message-ID <[email protected]>
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU gnutls".

http://git.savannah.gnu.org/cgit/gnutls.git/commit/?id=38718fe94ae05a81a2acc437dd3bf24af0173143

The branch, master has been updated
       via  38718fe94ae05a81a2acc437dd3bf24af0173143 (commit)
      from  012c3aed2d1aad76c5328503daee1b88928663d5 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 38718fe94ae05a81a2acc437dd3bf24af0173143
Author: Nikos Mavrogiannopoulos <[email protected]>
Date:   Wed Jan 4 21:06:05 2012 +0100

    use AI_ADDRCONFIG if available.

-----------------------------------------------------------------------

Summary of changes:
 src/serv.c |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/src/serv.c b/src/serv.c
index 370a669..9305caa 100644
--- a/src/serv.c
+++ b/src/serv.c
@@ -692,7 +692,11 @@ listen_socket (const char *name, int listen_port, int socktype)
   snprintf (portname, sizeof (portname), "%d", listen_port);
   memset (&hints, 0, sizeof (hints));
   hints.ai_socktype = socktype;
-  hints.ai_flags = AI_PASSIVE | AI_ADDRCONFIG;
+  hints.ai_flags = AI_PASSIVE
+#ifdef AI_ADDRCONFIG
+   | AI_ADDRCONFIG
+#endif
+   ;
 
   if ((s = getaddrinfo (NULL, portname, &hints, &res)) != 0)
     {


hooks/post-receive
-- 
GNU gnutls
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.