diff options
Diffstat (limited to 'src/gns/test_gns_pseu_shorten.c')
-rw-r--r-- | src/gns/test_gns_pseu_shorten.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gns/test_gns_pseu_shorten.c b/src/gns/test_gns_pseu_shorten.c index cd40c0098..6944aff03 100644 --- a/src/gns/test_gns_pseu_shorten.c +++ b/src/gns/test_gns_pseu_shorten.c | |||
@@ -199,7 +199,7 @@ on_lookup_result(void *cls, uint32_t rd_count, | |||
199 | for (i=0; i<rd_count; i++) | 199 | for (i=0; i<rd_count; i++) |
200 | { | 200 | { |
201 | GNUNET_log (GNUNET_ERROR_TYPE_INFO, "type: %d\n", rd[i].record_type); | 201 | GNUNET_log (GNUNET_ERROR_TYPE_INFO, "type: %d\n", rd[i].record_type); |
202 | if (rd[i].record_type == GNUNET_GNS_RECORD_TYPE_A) | 202 | if (rd[i].record_type == GNUNET_GNS_RECORD_A) |
203 | { | 203 | { |
204 | memcpy(&a, rd[i].data, sizeof(a)); | 204 | memcpy(&a, rd[i].data, sizeof(a)); |
205 | addr = inet_ntoa(a); | 205 | addr = inet_ntoa(a); |
@@ -247,7 +247,7 @@ commence_testing (void *cls, int success) | |||
247 | 247 | ||
248 | GNUNET_GNS_lookup_zone (gns_handle, TEST_DOMAIN, | 248 | GNUNET_GNS_lookup_zone (gns_handle, TEST_DOMAIN, |
249 | &our_zone, | 249 | &our_zone, |
250 | GNUNET_GNS_RECORD_TYPE_A, | 250 | GNUNET_GNS_RECORD_A, |
251 | GNUNET_NO, | 251 | GNUNET_NO, |
252 | short_key, | 252 | short_key, |
253 | &on_lookup_result, TEST_DOMAIN); | 253 | &on_lookup_result, TEST_DOMAIN); |