aboutsummaryrefslogtreecommitdiff
path: root/src/gns/test_gns_simple_shorten.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gns/test_gns_simple_shorten.c')
-rw-r--r--src/gns/test_gns_simple_shorten.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gns/test_gns_simple_shorten.c b/src/gns/test_gns_simple_shorten.c
index 2b4543f4e..74fe77446 100644
--- a/src/gns/test_gns_simple_shorten.c
+++ b/src/gns/test_gns_simple_shorten.c
@@ -246,7 +246,7 @@ void do_check (void *cls,
246 GNUNET_CRYPTO_short_hash(&priv_pkey, sizeof(priv_pkey), &priv_zone); 246 GNUNET_CRYPTO_short_hash(&priv_pkey, sizeof(priv_pkey), &priv_zone);
247 GNUNET_CRYPTO_short_hash(&short_pkey, sizeof(short_pkey), &short_zone); 247 GNUNET_CRYPTO_short_hash(&short_pkey, sizeof(short_pkey), &short_zone);
248 248
249 struct GNUNET_NAMESTORE_RecordData rd; 249 struct GNUNET_GNSRECORD_Data rd;
250 char* ip = TEST_IP; 250 char* ip = TEST_IP;
251 struct in_addr *web = GNUNET_malloc(sizeof(struct in_addr)); 251 struct in_addr *web = GNUNET_malloc(sizeof(struct in_addr));
252 rd.expiration_time = UINT64_MAX; 252 rd.expiration_time = UINT64_MAX;
@@ -257,7 +257,7 @@ void do_check (void *cls,
257 rd.data_size = sizeof(struct GNUNET_CRYPTO_ShortHashCode); 257 rd.data_size = sizeof(struct GNUNET_CRYPTO_ShortHashCode);
258 rd.data = &bob_hash; 258 rd.data = &bob_hash;
259 rd.record_type = GNUNET_GNSRECORD_TYPE_PKEY; 259 rd.record_type = GNUNET_GNSRECORD_TYPE_PKEY;
260 rd.flags = GNUNET_NAMESTORE_RF_NONE; 260 rd.flags = GNUNET_GNSRECORD_RF_NONE;
261 261
262 /* put bob into our zone */ 262 /* put bob into our zone */
263 GNUNET_NAMESTORE_record_put_by_authority (namestore_handle, 263 GNUNET_NAMESTORE_record_put_by_authority (namestore_handle,