diff options
author | Christian Grothoff <christian@grothoff.org> | 2013-08-13 13:27:39 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2013-08-13 13:27:39 +0000 |
commit | 6c0f027643f9a6fef37ecf6737899e55985153af (patch) | |
tree | 19d89fab13a3a999470c2164b85f1021087c8d15 /src/pt | |
parent | 332e61ee2a0929ede3725cb58b78154b889bd1ae (diff) | |
download | gnunet-6c0f027643f9a6fef37ecf6737899e55985153af.tar.gz gnunet-6c0f027643f9a6fef37ecf6737899e55985153af.zip |
-adapt PT test to new namestore API
Diffstat (limited to 'src/pt')
-rw-r--r-- | src/pt/test_gns_vpn.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/pt/test_gns_vpn.c b/src/pt/test_gns_vpn.c index 2ba72bba9..5c31bd779 100644 --- a/src/pt/test_gns_vpn.c +++ b/src/pt/test_gns_vpn.c | |||
@@ -401,12 +401,12 @@ run (void *cls, | |||
401 | &rd.data_size)); | 401 | &rd.data_size)); |
402 | rd.record_type = GNUNET_GNS_RECORD_VPN; | 402 | rd.record_type = GNUNET_GNS_RECORD_VPN; |
403 | 403 | ||
404 | GNUNET_NAMESTORE_record_put_by_authority (namestore, | 404 | GNUNET_NAMESTORE_records_store (namestore, |
405 | host_key, | 405 | host_key, |
406 | "www", | 406 | "www", |
407 | 1, &rd, | 407 | 1, &rd, |
408 | &commence_testing, | 408 | &commence_testing, |
409 | NULL); | 409 | NULL); |
410 | GNUNET_free ((void**)rd.data); | 410 | GNUNET_free ((void**)rd.data); |
411 | GNUNET_free (rd_string); | 411 | GNUNET_free (rd_string); |
412 | GNUNET_free (zone_keyfile); | 412 | GNUNET_free (zone_keyfile); |