aboutsummaryrefslogtreecommitdiff
path: root/src/namestore/test_namestore_api_zone_to_name.c
diff options
context:
space:
mode:
authorMatthias Wachs <wachs@net.in.tum.de>2012-03-19 17:14:17 +0000
committerMatthias Wachs <wachs@net.in.tum.de>2012-03-19 17:14:17 +0000
commit995f39243d257b7299f5b672214c20705e062b3f (patch)
treea4a88fd367c9f02bdd15c6d9ebf751488512db94 /src/namestore/test_namestore_api_zone_to_name.c
parent5a943624e2634d632ee2bf3a78c25b0aeae3813e (diff)
downloadgnunet-995f39243d257b7299f5b672214c20705e062b3f.tar.gz
gnunet-995f39243d257b7299f5b672214c20705e062b3f.zip
- tests pass
Diffstat (limited to 'src/namestore/test_namestore_api_zone_to_name.c')
-rw-r--r--src/namestore/test_namestore_api_zone_to_name.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/namestore/test_namestore_api_zone_to_name.c b/src/namestore/test_namestore_api_zone_to_name.c
index 5fb984dc1..6936142da 100644
--- a/src/namestore/test_namestore_api_zone_to_name.c
+++ b/src/namestore/test_namestore_api_zone_to_name.c
@@ -236,9 +236,9 @@ run (void *cls, char *const *args, const char *cfgfile,
236 struct GNUNET_NAMESTORE_RecordData rd; 236 struct GNUNET_NAMESTORE_RecordData rd;
237 rd.expiration = GNUNET_TIME_absolute_get(); 237 rd.expiration = GNUNET_TIME_absolute_get();
238 rd.record_type = GNUNET_NAMESTORE_TYPE_PKEY; 238 rd.record_type = GNUNET_NAMESTORE_TYPE_PKEY;
239 rd.data_size = sizeof (GNUNET_HashCode); 239 rd.data_size = sizeof (struct GNUNET_CRYPTO_ShortHashCode);
240 rd.data = GNUNET_malloc(sizeof (GNUNET_HashCode)); 240 rd.data = GNUNET_malloc(sizeof (struct GNUNET_CRYPTO_ShortHashCode));
241 memcpy ((char *) rd.data, &s_zone_value, sizeof (GNUNET_HashCode)); 241 memcpy ((char *) rd.data, &s_zone_value, sizeof (struct GNUNET_CRYPTO_ShortHashCode));
242 242
243 start_arm (cfgfile); 243 start_arm (cfgfile);
244 GNUNET_assert (arm != NULL); 244 GNUNET_assert (arm != NULL);