aboutsummaryrefslogtreecommitdiff
path: root/src/gns/test_gns_max_queries.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gns/test_gns_max_queries.c')
-rw-r--r--src/gns/test_gns_max_queries.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gns/test_gns_max_queries.c b/src/gns/test_gns_max_queries.c
index fae90bf72..aadd1a8fa 100644
--- a/src/gns/test_gns_max_queries.c
+++ b/src/gns/test_gns_max_queries.c
@@ -212,7 +212,7 @@ static void
212commence_testing (void *cls, int32_t success, const char *emsg) 212commence_testing (void *cls, int32_t success, const char *emsg)
213{ 213{
214 int i; 214 int i;
215 char lookup_name[MAX_DNS_NAME_LENGTH]; 215 char lookup_name[GNUNET_DNSPARSER_MAX_NAME_LENGTH];
216 struct GNUNET_GNS_LookupRequest *lr; 216 struct GNUNET_GNS_LookupRequest *lr;
217 217
218 gns_handle = GNUNET_GNS_connect(cfg); 218 gns_handle = GNUNET_GNS_connect(cfg);
@@ -229,7 +229,7 @@ commence_testing (void *cls, int32_t success, const char *emsg)
229 for (i=0; i<max_parallel_lookups+TEST_ADDITIONAL_LOOKUPS; i++) 229 for (i=0; i<max_parallel_lookups+TEST_ADDITIONAL_LOOKUPS; i++)
230 { 230 {
231 GNUNET_snprintf(lookup_name, 231 GNUNET_snprintf(lookup_name,
232 MAX_DNS_NAME_LENGTH, 232 GNUNET_DNSPARSER_MAX_NAME_LENGTH,
233 "www.doesnotexist-%d.bob.gads", i); 233 "www.doesnotexist-%d.bob.gads", i);
234 lr = GNUNET_GNS_lookup (gns_handle, lookup_name, GNUNET_GNS_RECORD_A, 234 lr = GNUNET_GNS_lookup (gns_handle, lookup_name, GNUNET_GNS_RECORD_A,
235 GNUNET_NO, 235 GNUNET_NO,