diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/namestore/test_namestore_api_zone_to_name.c | 6 |
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); |