From dea72e1e1b8173ac648778f0b2c2c2981e217b36 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Tue, 9 Jul 2013 09:13:40 +0000 Subject: -towards implementing monitor functions in service --- src/namestore/namestore_api.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/namestore/namestore_api.c') diff --git a/src/namestore/namestore_api.c b/src/namestore/namestore_api.c index 54cc8ec66..882770af2 100644 --- a/src/namestore/namestore_api.c +++ b/src/namestore/namestore_api.c @@ -274,7 +274,9 @@ handle_lookup_name_response (struct GNUNET_NAMESTORE_QueueEntry *qe, int contains_sig; int rd_count; - LOG (GNUNET_ERROR_TYPE_DEBUG, "Received `%s'\n", "LOOKUP_NAME_RESPONSE"); + LOG (GNUNET_ERROR_TYPE_DEBUG, + "Received `%s'\n", + "LOOKUP_NAME_RESPONSE"); rd_len = ntohs (msg->rd_len); rd_count = ntohs (msg->rd_count); msg_len = ntohs (msg->gns_header.header.size); @@ -282,7 +284,6 @@ handle_lookup_name_response (struct GNUNET_NAMESTORE_QueueEntry *qe, contains_sig = ntohs (msg->contains_sig); expire = GNUNET_TIME_absolute_ntoh (msg->expire); exp_msg_len = sizeof (struct LookupNameResponseMessage) + - sizeof (struct GNUNET_CRYPTO_EccPublicKeyBinaryEncoded) + name_len + rd_len; if (msg_len != exp_msg_len) { -- cgit v1.2.3