gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] [taler-merchant] branch master updated: only use AI_IDN if


From: gnunet
Subject: [GNUnet-SVN] [taler-merchant] branch master updated: only use AI_IDN if supported by platform (fixes #5688)
Date: Thu, 18 Apr 2019 17:35:56 +0200

This is an automated email from the git hooks/post-receive script.

grothoff pushed a commit to branch master
in repository merchant.

The following commit(s) were added to refs/heads/master by this push:
     new 83a4ffc  only use AI_IDN if supported by platform (fixes #5688)
83a4ffc is described below

commit 83a4ffce0e7bfd43df4511a53d8f3afc408ea276
Author: Christian Grothoff <address@hidden>
AuthorDate: Thu Apr 18 17:35:31 2019 +0200

    only use AI_IDN if supported by platform (fixes #5688)
---
 src/backend/taler-merchant-httpd.c | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/src/backend/taler-merchant-httpd.c 
b/src/backend/taler-merchant-httpd.c
index 31a1c9d..77dd744 100644
--- a/src/backend/taler-merchant-httpd.c
+++ b/src/backend/taler-merchant-httpd.c
@@ -1462,7 +1462,11 @@ run (void *cls,
         hints.ai_family = AF_UNSPEC;
         hints.ai_socktype = SOCK_STREAM;
         hints.ai_protocol = IPPROTO_TCP;
-        hints.ai_flags = AI_PASSIVE | AI_IDN;
+        hints.ai_flags = AI_PASSIVE
+#ifdef AI_IDN
+          | AI_IDN
+#endif
+          ;
         if (0 !=
             (ec = getaddrinfo (bind_to,
                                port_str,

-- 
To stop receiving notification emails like this one, please contact
address@hidden



reply via email to

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