From 995f39243d257b7299f5b672214c20705e062b3f Mon Sep 17 00:00:00 2001 From: Matthias Wachs Date: Mon, 19 Mar 2012 17:14:17 +0000 Subject: - tests pass --- src/namestore/test_namestore_api_zone_to_name.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/namestore/test_namestore_api_zone_to_name.c') 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, struct GNUNET_NAMESTORE_RecordData rd; rd.expiration = GNUNET_TIME_absolute_get(); rd.record_type = GNUNET_NAMESTORE_TYPE_PKEY; - rd.data_size = sizeof (GNUNET_HashCode); - rd.data = GNUNET_malloc(sizeof (GNUNET_HashCode)); - memcpy ((char *) rd.data, &s_zone_value, sizeof (GNUNET_HashCode)); + rd.data_size = sizeof (struct GNUNET_CRYPTO_ShortHashCode); + rd.data = GNUNET_malloc(sizeof (struct GNUNET_CRYPTO_ShortHashCode)); + memcpy ((char *) rd.data, &s_zone_value, sizeof (struct GNUNET_CRYPTO_ShortHashCode)); start_arm (cfgfile); GNUNET_assert (arm != NULL); -- cgit v1.2.3