gnunet-svn
[Top][All Lists]
Advanced

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

[gnunet] branch master updated: ifdef guard changes for LSD001/0.12


From: gnunet
Subject: [gnunet] branch master updated: ifdef guard changes for LSD001/0.12
Date: Sun, 01 Dec 2019 12:35:09 +0100

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

martin-schanzenbach pushed a commit to branch master
in repository gnunet.

The following commit(s) were added to refs/heads/master by this push:
     new 520dce09b ifdef guard changes for LSD001/0.12
520dce09b is described below

commit 520dce09be20c1961f0c419e46a773f3247683cc
Author: Schanzenbach, Martin <address@hidden>
AuthorDate: Sun Dec 1 12:32:14 2019 +0100

    ifdef guard changes for LSD001/0.12
---
 src/gns/gnunet-gns.c | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/src/gns/gnunet-gns.c b/src/gns/gnunet-gns.c
index 0107a313a..600a9c9a5 100644
--- a/src/gns/gnunet-gns.c
+++ b/src/gns/gnunet-gns.c
@@ -229,7 +229,6 @@ run (void *cls,
   (void) cls;
   (void) args;
   (void) cfgfile;
-  Idna_rc rc;
 
   cfg = c;
   to_task = NULL;
@@ -239,12 +238,15 @@ run (void *cls,
     if (NULL != (colon = strchr (lookup_name, ':')))
       *colon = '\0';
   }
+#ifdef LSD001
+  Idna_rc rc;
   /**
    * If DNS compatibility is requested, we first verify that the
    * lookup_name is in a DNS format. If yes, we convert it to UTF-8.
    */
   if (GNUNET_YES == dns_compat)
   {
+#endif
     if (GNUNET_OK != GNUNET_DNSPARSER_check_name (lookup_name))
     {
       fprintf (stderr,
@@ -253,6 +255,7 @@ run (void *cls,
       global_ret = 3;
       return;
     }
+#ifdef LSD001
     if (IDNA_SUCCESS !=
         (rc = idna_to_unicode_8z8z (lookup_name, &idna_name,
                                     IDNA_ALLOW_UNASSIGNED)))
@@ -266,6 +269,7 @@ run (void *cls,
     }
     lookup_name = idna_name;
   }
+#endif
   if (GNUNET_YES !=
       GNUNET_CLIENT_test (cfg,
                           "arm"))

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



reply via email to

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