diff options
author | Schanzenbach, Martin <mschanzenbach@posteo.de> | 2019-11-30 15:20:45 +0100 |
---|---|---|
committer | Schanzenbach, Martin <mschanzenbach@posteo.de> | 2019-11-30 15:20:45 +0100 |
commit | 3afe75da145140445aba265481b37d068f095879 (patch) | |
tree | b8a0d6f14ff2eb9c1037c1940a59d987ed392b49 /src/gns/gnunet-service-gns_resolver.c | |
parent | 61efbfb56dde7db7ede7478817d5dbb0ae1f95c1 (diff) | |
download | gnunet-3afe75da145140445aba265481b37d068f095879.tar.gz gnunet-3afe75da145140445aba265481b37d068f095879.zip |
invert ifdef guard
Diffstat (limited to 'src/gns/gnunet-service-gns_resolver.c')
-rw-r--r-- | src/gns/gnunet-service-gns_resolver.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gns/gnunet-service-gns_resolver.c b/src/gns/gnunet-service-gns_resolver.c index bb319633a..9792aff58 100644 --- a/src/gns/gnunet-service-gns_resolver.c +++ b/src/gns/gnunet-service-gns_resolver.c | |||
@@ -1710,7 +1710,7 @@ recursive_gns2dns_resolution (struct GNS_ResolverHandle *rh, | |||
1710 | n = GNUNET_DNSPARSER_parse_name (rd[i].data, | 1710 | n = GNUNET_DNSPARSER_parse_name (rd[i].data, |
1711 | rd[i].data_size, | 1711 | rd[i].data_size, |
1712 | &off); | 1712 | &off); |
1713 | #ifndef LSD001 | 1713 | #ifdef LSD001 |
1714 | ip = GNUNET_strdup (&rd[i].data[off]); | 1714 | ip = GNUNET_strdup (&rd[i].data[off]); |
1715 | off += strlen (ip) + 1; | 1715 | off += strlen (ip) + 1; |
1716 | #else | 1716 | #else |
@@ -1837,7 +1837,7 @@ recursive_gns2dns_resolution (struct GNS_ResolverHandle *rh, | |||
1837 | (0 != rh->name_resolution_pos) ? "." : "", | 1837 | (0 != rh->name_resolution_pos) ? "." : "", |
1838 | ns); | 1838 | ns); |
1839 | GNUNET_free (ns); | 1839 | GNUNET_free (ns); |
1840 | #ifndef LSD001 | 1840 | #ifdef LSD001 |
1841 | /* the GNS name is UTF-8 and may include multibyte chars. | 1841 | /* the GNS name is UTF-8 and may include multibyte chars. |
1842 | * We have to convert the combined name to a DNS-compatible IDNA. | 1842 | * We have to convert the combined name to a DNS-compatible IDNA. |
1843 | */ | 1843 | */ |