diff options
Diffstat (limited to 'src/service/pt/test_gns_vpn.c')
-rw-r--r-- | src/service/pt/test_gns_vpn.c | 23 |
1 files changed, 17 insertions, 6 deletions
diff --git a/src/service/pt/test_gns_vpn.c b/src/service/pt/test_gns_vpn.c index 4db7bf274..300f17202 100644 --- a/src/service/pt/test_gns_vpn.c +++ b/src/service/pt/test_gns_vpn.c | |||
@@ -603,12 +603,23 @@ identity_cb (void *cls, | |||
603 | 603 | ||
604 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, | 604 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, |
605 | "Creating `www` record\n"); | 605 | "Creating `www` record\n"); |
606 | qe = GNUNET_NAMESTORE_records_store (namestore, | 606 | { |
607 | zone_key, | 607 | struct GNUNET_NAMESTORE_RecordInfo ri = { |
608 | "www", | 608 | .a_label = "www", |
609 | 1, &rd, | 609 | .a_rd_count = 1, |
610 | &commence_testing, | 610 | .a_rd = &rd |
611 | NULL); | 611 | }; |
612 | unsigned int did_sent; | ||
613 | |||
614 | qe = GNUNET_NAMESTORE_records_store (namestore, | ||
615 | zone_key, | ||
616 | 1, | ||
617 | &ri, | ||
618 | &did_sent, | ||
619 | &commence_testing, | ||
620 | NULL); | ||
621 | GNUNET_assert (1 == did_sent); | ||
622 | } | ||
612 | GNUNET_free_nz ((void **) rd.data); | 623 | GNUNET_free_nz ((void **) rd.data); |
613 | GNUNET_free (rd_string); | 624 | GNUNET_free (rd_string); |
614 | } | 625 | } |