From 4dc79497d7f745996068e62e973e34d220580323 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Wed, 25 Apr 2018 16:18:31 +0200 Subject: extend namestore API to enable faster iterations by returning more than one result at a time --- src/namestore/test_namestore_api_zone_iteration.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/namestore/test_namestore_api_zone_iteration.c') diff --git a/src/namestore/test_namestore_api_zone_iteration.c b/src/namestore/test_namestore_api_zone_iteration.c index 8960be55d..1343d42bf 100644 --- a/src/namestore/test_namestore_api_zone_iteration.c +++ b/src/namestore/test_namestore_api_zone_iteration.c @@ -276,7 +276,8 @@ zone_proc (void *cls, returned_records ++; GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Telling namestore to send the next result\n"); - GNUNET_NAMESTORE_zone_iterator_next (zi); + GNUNET_NAMESTORE_zone_iterator_next (zi, + 1); } else { -- cgit v1.2.3