gnutls-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Nikos Mavrogiannopoulos
Subject: [SCM] GNU gnutls branch, master, updated. gnutls_3_0_10-3-g38718fe
Date: Wed, 04 Jan 2012 20:02:34 +0000

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 <address@hidden>
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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]