aboutsummaryrefslogtreecommitdiff
path: root/src/namestore/test_namestore_api_monitoring_existing.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2018-05-09 18:09:54 +0200
committerChristian Grothoff <christian@grothoff.org>2018-05-09 18:09:54 +0200
commit466c9bd9bc750b3c763d3ca3bcab1277ba73ee13 (patch)
treeef23a952e3f09d6f73f8998909f8379dbeaaf857 /src/namestore/test_namestore_api_monitoring_existing.c
parent4984ca8380195e69970ca14cbb0bc2bafe808d5d (diff)
downloadgnunet-466c9bd9bc750b3c763d3ca3bcab1277ba73ee13.tar.gz
gnunet-466c9bd9bc750b3c763d3ca3bcab1277ba73ee13.zip
fix context for zone_to_name flat plugin
Diffstat (limited to 'src/namestore/test_namestore_api_monitoring_existing.c')
-rw-r--r--src/namestore/test_namestore_api_monitoring_existing.c27
1 files changed, 20 insertions, 7 deletions
diff --git a/src/namestore/test_namestore_api_monitoring_existing.c b/src/namestore/test_namestore_api_monitoring_existing.c
index 3e9e70923..449b36d65 100644
--- a/src/namestore/test_namestore_api_monitoring_existing.c
+++ b/src/namestore/test_namestore_api_monitoring_existing.c
@@ -337,16 +337,29 @@ run (void *cls,
337 /* name in different zone */ 337 /* name in different zone */
338 GNUNET_asprintf(&s_name_3, "dummy3"); 338 GNUNET_asprintf(&s_name_3, "dummy3");
339 s_rd_3 = create_record(1); 339 s_rd_3 = create_record(1);
340 GNUNET_assert (NULL != (ns_ops[2] = GNUNET_NAMESTORE_records_store (nsh, privkey2, s_name_3, 340 GNUNET_assert (NULL != (ns_ops[2] =
341 1, s_rd_3, &put_cont, s_name_3))); 341 GNUNET_NAMESTORE_records_store (nsh,
342 privkey2,
343 s_name_3,
344 1,
345 s_rd_3,
346 &put_cont,
347 s_name_3)));
342 348
343 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Created record 1\n"); 349 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
350 "Created record 1\n");
344 GNUNET_asprintf(&s_name_1, "dummy1"); 351 GNUNET_asprintf(&s_name_1, "dummy1");
345 s_rd_1 = create_record(1); 352 s_rd_1 = create_record(1);
346 GNUNET_assert (NULL != (ns_ops[0] = GNUNET_NAMESTORE_records_store(nsh, privkey, s_name_1, 353 GNUNET_assert (NULL != (ns_ops[0] =
347 1, s_rd_1, &put_cont, s_name_1))); 354 GNUNET_NAMESTORE_records_store(nsh,
348 355 privkey,
349 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Created record 2 \n"); 356 s_name_1,
357 1,
358 s_rd_1,
359 &put_cont,
360 s_name_1)));
361 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
362 "Created record 2 \n");
350 GNUNET_asprintf(&s_name_2, "dummy2"); 363 GNUNET_asprintf(&s_name_2, "dummy2");
351 s_rd_2 = create_record(1); 364 s_rd_2 = create_record(1);
352 GNUNET_assert (NULL != (ns_ops[1] = 365 GNUNET_assert (NULL != (ns_ops[1] =