diff options
author | wachs <wachs@140774ce-b5e7-0310-ab8b-a85725594a96> | 2012-06-20 13:11:14 +0000 |
---|---|---|
committer | wachs <wachs@140774ce-b5e7-0310-ab8b-a85725594a96> | 2012-06-20 13:11:14 +0000 |
commit | 73c9e34a14c3aeb7d63979d4184d8221711f95c6 (patch) | |
tree | 6b3ece4b394e8d9abf55d81bd1d1d747c6795044 /src/namestore | |
parent | 50ee579366ab79e43ac64844c0a50313309b9f4d (diff) |
- commit often
git-svn-id: https://gnunet.org/svn/gnunet@22154 140774ce-b5e7-0310-ab8b-a85725594a96
Diffstat (limited to 'src/namestore')
-rw-r--r-- | src/namestore/gnunet-service-namestore.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/namestore/gnunet-service-namestore.c b/src/namestore/gnunet-service-namestore.c index ab07b250c6..a5e1ab9aeb 100644 --- a/src/namestore/gnunet-service-namestore.c +++ b/src/namestore/gnunet-service-namestore.c @@ -325,7 +325,7 @@ zone_to_disk_it (void *cls, * @param rd array of records * @return absolute expiration time */ -struct GNUNET_TIME_Absolute +static struct GNUNET_TIME_Absolute get_block_expiration_time (unsigned int rd_count, const struct GNUNET_NAMESTORE_RecordData *rd) { unsigned int c; @@ -720,6 +720,7 @@ handle_record_put (void *cls, struct GNUNET_TIME_Absolute expire; struct GNUNET_CRYPTO_RsaSignature *signature; struct RecordPutResponseMessage rpr_msg; + struct GNUNET_CRYPTO_ShortHashCode zone_hash; size_t name_len; size_t msg_size; size_t msg_size_exp; @@ -802,9 +803,7 @@ handle_record_put (void *cls, goto send; } - struct GNUNET_CRYPTO_ShortHashCode zone_hash; GNUNET_CRYPTO_short_hash (&rp_msg->public_key, sizeof (rp_msg->public_key), &zone_hash); - GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Putting %u record for name `%s' in zone `%s'\n", rd_count, name, GNUNET_short_h2s(&zone_hash)); /* Database operation */ |