aboutsummaryrefslogtreecommitdiff
path: root/src/service/namestore/perf_namestore_api_zone_iteration.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/service/namestore/perf_namestore_api_zone_iteration.c')
-rw-r--r--src/service/namestore/perf_namestore_api_zone_iteration.c14
1 files changed, 6 insertions, 8 deletions
diff --git a/src/service/namestore/perf_namestore_api_zone_iteration.c b/src/service/namestore/perf_namestore_api_zone_iteration.c
index 1b669fdac..cc59ff4c7 100644
--- a/src/service/namestore/perf_namestore_api_zone_iteration.c
+++ b/src/service/namestore/perf_namestore_api_zone_iteration.c
@@ -22,10 +22,8 @@
22 * @brief testcase for zone iteration functionality: iterate all zones 22 * @brief testcase for zone iteration functionality: iterate all zones
23 * @author Christian Grothoff 23 * @author Christian Grothoff
24 */ 24 */
25#include "platform.h"
26#include "gnunet_namestore_service.h" 25#include "gnunet_namestore_service.h"
27#include "gnunet_testing_lib.h" 26#include "gnunet_testing_lib.h"
28#include "../service/namestore/namestore.h"
29 27
30#define TEST_RECORD_TYPE GNUNET_DNSPARSER_TYPE_TXT 28#define TEST_RECORD_TYPE GNUNET_DNSPARSER_TYPE_TXT
31 29
@@ -316,12 +314,12 @@ publish_record (void *cls)
316 GNUNET_asprintf (&label, 314 GNUNET_asprintf (&label,
317 "l%u", 315 "l%u",
318 off); 316 off);
319 qe = GNUNET_NAMESTORE_records_store (nsh, 317 qe = GNUNET_NAMESTORE_record_set_store (nsh,
320 &privkey, 318 &privkey,
321 label, 319 label,
322 1, rd, 320 1, rd,
323 &put_cont, 321 &put_cont,
324 NULL); 322 NULL);
325 GNUNET_free (label); 323 GNUNET_free (label);
326 GNUNET_free (rd); 324 GNUNET_free (rd);
327} 325}