diff options
Diffstat (limited to 'src/gns/gnunet-gns.c')
-rw-r--r-- | src/gns/gnunet-gns.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/gns/gnunet-gns.c b/src/gns/gnunet-gns.c index 600a9c9a5..37633daf1 100644 --- a/src/gns/gnunet-gns.c +++ b/src/gns/gnunet-gns.c | |||
@@ -238,15 +238,15 @@ run (void *cls, | |||
238 | if (NULL != (colon = strchr (lookup_name, ':'))) | 238 | if (NULL != (colon = strchr (lookup_name, ':'))) |
239 | *colon = '\0'; | 239 | *colon = '\0'; |
240 | } | 240 | } |
241 | #ifdef LSD001 | 241 | |
242 | Idna_rc rc; | ||
243 | /** | 242 | /** |
244 | * If DNS compatibility is requested, we first verify that the | 243 | * If DNS compatibility is requested, we first verify that the |
245 | * lookup_name is in a DNS format. If yes, we convert it to UTF-8. | 244 | * lookup_name is in a DNS format. If yes, we convert it to UTF-8. |
246 | */ | 245 | */ |
247 | if (GNUNET_YES == dns_compat) | 246 | if (GNUNET_YES == dns_compat) |
248 | { | 247 | { |
249 | #endif | 248 | Idna_rc rc; |
249 | |||
250 | if (GNUNET_OK != GNUNET_DNSPARSER_check_name (lookup_name)) | 250 | if (GNUNET_OK != GNUNET_DNSPARSER_check_name (lookup_name)) |
251 | { | 251 | { |
252 | fprintf (stderr, | 252 | fprintf (stderr, |
@@ -255,7 +255,6 @@ run (void *cls, | |||
255 | global_ret = 3; | 255 | global_ret = 3; |
256 | return; | 256 | return; |
257 | } | 257 | } |
258 | #ifdef LSD001 | ||
259 | if (IDNA_SUCCESS != | 258 | if (IDNA_SUCCESS != |
260 | (rc = idna_to_unicode_8z8z (lookup_name, &idna_name, | 259 | (rc = idna_to_unicode_8z8z (lookup_name, &idna_name, |
261 | IDNA_ALLOW_UNASSIGNED))) | 260 | IDNA_ALLOW_UNASSIGNED))) |
@@ -269,7 +268,7 @@ run (void *cls, | |||
269 | } | 268 | } |
270 | lookup_name = idna_name; | 269 | lookup_name = idna_name; |
271 | } | 270 | } |
272 | #endif | 271 | |
273 | if (GNUNET_YES != | 272 | if (GNUNET_YES != |
274 | GNUNET_CLIENT_test (cfg, | 273 | GNUNET_CLIENT_test (cfg, |
275 | "arm")) | 274 | "arm")) |