diff options
author | Christian Grothoff <christian@grothoff.org> | 2013-07-09 09:13:40 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2013-07-09 09:13:40 +0000 |
commit | dea72e1e1b8173ac648778f0b2c2c2981e217b36 (patch) | |
tree | bc008e54d1f01c61fcaf05986d15dc692c66644e /src/namestore/namestore_api.c | |
parent | aeb4a74b437e40384437dc93c7d58ea117bca07c (diff) | |
download | gnunet-dea72e1e1b8173ac648778f0b2c2c2981e217b36.tar.gz gnunet-dea72e1e1b8173ac648778f0b2c2c2981e217b36.zip |
-towards implementing monitor functions in service
Diffstat (limited to 'src/namestore/namestore_api.c')
-rw-r--r-- | src/namestore/namestore_api.c | 5 |
1 files changed, 3 insertions, 2 deletions
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, | |||
274 | int contains_sig; | 274 | int contains_sig; |
275 | int rd_count; | 275 | int rd_count; |
276 | 276 | ||
277 | LOG (GNUNET_ERROR_TYPE_DEBUG, "Received `%s'\n", "LOOKUP_NAME_RESPONSE"); | 277 | LOG (GNUNET_ERROR_TYPE_DEBUG, |
278 | "Received `%s'\n", | ||
279 | "LOOKUP_NAME_RESPONSE"); | ||
278 | rd_len = ntohs (msg->rd_len); | 280 | rd_len = ntohs (msg->rd_len); |
279 | rd_count = ntohs (msg->rd_count); | 281 | rd_count = ntohs (msg->rd_count); |
280 | msg_len = ntohs (msg->gns_header.header.size); | 282 | msg_len = ntohs (msg->gns_header.header.size); |
@@ -282,7 +284,6 @@ handle_lookup_name_response (struct GNUNET_NAMESTORE_QueueEntry *qe, | |||
282 | contains_sig = ntohs (msg->contains_sig); | 284 | contains_sig = ntohs (msg->contains_sig); |
283 | expire = GNUNET_TIME_absolute_ntoh (msg->expire); | 285 | expire = GNUNET_TIME_absolute_ntoh (msg->expire); |
284 | exp_msg_len = sizeof (struct LookupNameResponseMessage) + | 286 | exp_msg_len = sizeof (struct LookupNameResponseMessage) + |
285 | sizeof (struct GNUNET_CRYPTO_EccPublicKeyBinaryEncoded) + | ||
286 | name_len + rd_len; | 287 | name_len + rd_len; |
287 | if (msg_len != exp_msg_len) | 288 | if (msg_len != exp_msg_len) |
288 | { | 289 | { |