diff options
Diffstat (limited to 'src/gns/test_gns_max_queries.c')
-rw-r--r-- | src/gns/test_gns_max_queries.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gns/test_gns_max_queries.c b/src/gns/test_gns_max_queries.c index f759889aa..3f3900206 100644 --- a/src/gns/test_gns_max_queries.c +++ b/src/gns/test_gns_max_queries.c | |||
@@ -125,7 +125,7 @@ on_lookup_result(void *cls, uint32_t rd_count, | |||
125 | for (i=0; i<rd_count; i++) | 125 | for (i=0; i<rd_count; i++) |
126 | { | 126 | { |
127 | GNUNET_log (GNUNET_ERROR_TYPE_INFO, "type: %d\n", rd[i].record_type); | 127 | GNUNET_log (GNUNET_ERROR_TYPE_INFO, "type: %d\n", rd[i].record_type); |
128 | if (rd[i].record_type == GNUNET_GNS_RECORD_TYPE_A) | 128 | if (rd[i].record_type == GNUNET_GNS_RECORD_A) |
129 | { | 129 | { |
130 | memcpy(&a, rd[i].data, sizeof(a)); | 130 | memcpy(&a, rd[i].data, sizeof(a)); |
131 | addr = inet_ntoa(a); | 131 | addr = inet_ntoa(a); |
@@ -178,13 +178,13 @@ commence_testing (void *cls, int32_t success, const char *emsg) | |||
178 | GNUNET_snprintf(lookup_name, | 178 | GNUNET_snprintf(lookup_name, |
179 | MAX_DNS_NAME_LENGTH, | 179 | MAX_DNS_NAME_LENGTH, |
180 | "www.doesnotexist-%d.bob.gnunet", i); | 180 | "www.doesnotexist-%d.bob.gnunet", i); |
181 | GNUNET_GNS_lookup(gns_handle, lookup_name, GNUNET_GNS_RECORD_TYPE_A, | 181 | GNUNET_GNS_lookup(gns_handle, lookup_name, GNUNET_GNS_RECORD_A, |
182 | GNUNET_NO, | 182 | GNUNET_NO, |
183 | NULL, | 183 | NULL, |
184 | &on_lookup_result_dummy, NULL); | 184 | &on_lookup_result_dummy, NULL); |
185 | } | 185 | } |
186 | 186 | ||
187 | GNUNET_GNS_lookup(gns_handle, TEST_DOMAIN, GNUNET_GNS_RECORD_TYPE_A, | 187 | GNUNET_GNS_lookup(gns_handle, TEST_DOMAIN, GNUNET_GNS_RECORD_A, |
188 | GNUNET_NO, | 188 | GNUNET_NO, |
189 | NULL, | 189 | NULL, |
190 | &on_lookup_result, TEST_DOMAIN); | 190 | &on_lookup_result, TEST_DOMAIN); |