gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] [gnurl] 53/173: IDN: Fix compile time detection of linidn2


From: gnunet
Subject: [GNUnet-SVN] [gnurl] 53/173: IDN: Fix compile time detection of linidn2 TR46
Date: Fri, 24 Feb 2017 14:01:15 +0100

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

ng0 pushed a commit to annotated tag gnurl-7.53.1
in repository gnurl.

commit ba315745f7f4ddfedd0763833c22f019817535cb
Author: Tim Rühsen <address@hidden>
AuthorDate: Fri Jan 13 11:50:01 2017 +0100

    IDN: Fix compile time detection of linidn2 TR46
    
    Follow-up to f30cbcac1
    
    Closes #1207
---
 lib/url.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/url.c b/lib/url.c
index 1f6e5bed9..9112baee0 100644
--- a/lib/url.c
+++ b/lib/url.c
@@ -4010,7 +4010,7 @@ static void fix_hostname(struct connectdata *conn, struct 
hostname *host)
 #ifdef USE_LIBIDN2
     if(idn2_check_version(IDN2_VERSION)) {
       char *ace_hostname = NULL;
-#ifdef IDN2_TRANSITIONAL
+#if IDN2_VERSION_NUMBER >= 0x00140000
       int flags = IDN2_NFC_INPUT | IDN2_TRANSITIONAL;
 #else
       int flags = IDN2_NFC_INPUT;

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



reply via email to

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