diff options
Diffstat (limited to 'src/gns/plugin_gnsrecord_gns.c')
-rw-r--r-- | src/gns/plugin_gnsrecord_gns.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gns/plugin_gnsrecord_gns.c b/src/gns/plugin_gnsrecord_gns.c index 52c35ce10..38c3582c1 100644 --- a/src/gns/plugin_gnsrecord_gns.c +++ b/src/gns/plugin_gnsrecord_gns.c | |||
@@ -78,7 +78,7 @@ gns_value_to_string (void *cls, | |||
78 | GNUNET_free_non_null (ns); | 78 | GNUNET_free_non_null (ns); |
79 | return NULL; | 79 | return NULL; |
80 | } | 80 | } |
81 | #ifndef LSD001 //DNS server IP/name must be UTF-8 | 81 | #ifdef LSD001 //DNS server IP/name must be UTF-8 |
82 | ip = GNUNET_strdup((char*) &data[off]); | 82 | ip = GNUNET_strdup((char*) &data[off]); |
83 | #else | 83 | #else |
84 | // Must be IP or DNS name | 84 | // Must be IP or DNS name |
@@ -226,7 +226,7 @@ gns_string_to_value (void *cls, | |||
226 | GNUNET_free (cpy); | 226 | GNUNET_free (cpy); |
227 | return GNUNET_SYSERR; | 227 | return GNUNET_SYSERR; |
228 | } | 228 | } |
229 | #ifndef LSD001 //The DNS server location/name is in UTF-8 | 229 | #ifdef LSD001 //The DNS server location/name is in UTF-8 |
230 | GNUNET_memcpy (&nsbuf[off], at, strlen (at) + 1); | 230 | GNUNET_memcpy (&nsbuf[off], at, strlen (at) + 1); |
231 | off += strlen (at) + 1; | 231 | off += strlen (at) + 1; |
232 | #else | 232 | #else |