gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r20612 - gnunet/src/namestore


From: gnunet
Subject: [GNUnet-SVN] r20612 - gnunet/src/namestore
Date: Mon, 19 Mar 2012 18:14:17 +0100

Author: wachs
Date: 2012-03-19 18:14:17 +0100 (Mon, 19 Mar 2012)
New Revision: 20612

Modified:
   gnunet/src/namestore/test_namestore_api_zone_to_name.c
Log:
- tests pass


Modified: gnunet/src/namestore/test_namestore_api_zone_to_name.c
===================================================================
--- gnunet/src/namestore/test_namestore_api_zone_to_name.c      2012-03-19 
17:11:46 UTC (rev 20611)
+++ gnunet/src/namestore/test_namestore_api_zone_to_name.c      2012-03-19 
17:14:17 UTC (rev 20612)
@@ -236,9 +236,9 @@
   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);




reply via email to

[Prev in Thread] Current Thread [Next in Thread]