diff options
-rw-r--r-- | src/namestore/namestore_api.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/namestore/namestore_api.c b/src/namestore/namestore_api.c index bc58f3760..f24e090ed 100644 --- a/src/namestore/namestore_api.c +++ b/src/namestore/namestore_api.c | |||
@@ -305,7 +305,7 @@ handle_lookup_block_response (struct GNUNET_NAMESTORE_QueueEntry *qe, | |||
305 | 305 | ||
306 | 306 | ||
307 | /** | 307 | /** |
308 | * Handle an incoming message of type 'GNUNET_MESSAGE_TYPE_NAMESTORE_BLOCK_CACHE_RESPONSE' | 308 | * Handle an incoming message of type #GNUNET_MESSAGE_TYPE_NAMESTORE_BLOCK_CACHE_RESPONSE |
309 | * | 309 | * |
310 | * @param qe the respective entry in the message queue | 310 | * @param qe the respective entry in the message queue |
311 | * @param msg the message we received | 311 | * @param msg the message we received |
@@ -985,7 +985,9 @@ GNUNET_NAMESTORE_block_cache (struct GNUNET_NAMESTORE_Handle *h, | |||
985 | size_t msg_size; | 985 | size_t msg_size; |
986 | 986 | ||
987 | GNUNET_assert (NULL != h); | 987 | GNUNET_assert (NULL != h); |
988 | blen = ntohl (block->purpose.size) - sizeof (struct GNUNET_TIME_AbsoluteNBO); | 988 | blen = ntohl (block->purpose.size) |
989 | - sizeof (struct GNUNET_TIME_AbsoluteNBO) | ||
990 | - sizeof (struct GNUNET_CRYPTO_EccSignaturePurpose); | ||
989 | rid = get_op_id (h); | 991 | rid = get_op_id (h); |
990 | qe = GNUNET_new (struct GNUNET_NAMESTORE_QueueEntry); | 992 | qe = GNUNET_new (struct GNUNET_NAMESTORE_QueueEntry); |
991 | qe->nsh = h; | 993 | qe->nsh = h; |