aboutsummaryrefslogtreecommitdiff
path: root/src/namestore
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2013-09-26 09:23:21 +0000
committerChristian Grothoff <christian@grothoff.org>2013-09-26 09:23:21 +0000
commit9b2443128365ac573910671487ac2d2e5e7e7eab (patch)
tree33f971115978f51e0d4aef615ea1f8c71686ace4 /src/namestore
parentb95384b49374152842c204270ff24de8cad3169b (diff)
downloadgnunet-9b2443128365ac573910671487ac2d2e5e7e7eab.tar.gz
gnunet-9b2443128365ac573910671487ac2d2e5e7e7eab.zip
-more logging, minor code cleanup
Diffstat (limited to 'src/namestore')
-rw-r--r--src/namestore/namestore_api.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/namestore/namestore_api.c b/src/namestore/namestore_api.c
index ff1630b92..946dd91c7 100644
--- a/src/namestore/namestore_api.c
+++ b/src/namestore/namestore_api.c
@@ -345,7 +345,8 @@ handle_record_store_response (struct GNUNET_NAMESTORE_QueueEntry *qe,
345 int res; 345 int res;
346 const char *emsg; 346 const char *emsg;
347 347
348 LOG (GNUNET_ERROR_TYPE_DEBUG, "Received `%s'\n", 348 LOG (GNUNET_ERROR_TYPE_DEBUG,
349 "Received `%s'\n",
349 "RECORD_STORE_RESPONSE"); 350 "RECORD_STORE_RESPONSE");
350 /* TODO: add actual error message from namestore to response... */ 351 /* TODO: add actual error message from namestore to response... */
351 res = ntohl (msg->op_result); 352 res = ntohl (msg->op_result);
@@ -1081,8 +1082,9 @@ GNUNET_NAMESTORE_records_store (struct GNUNET_NAMESTORE_Handle *h,
1081 GNUNET_break (rd_ser_len == GNUNET_NAMESTORE_records_serialize (rd_count, rd, rd_ser_len, rd_ser)); 1082 GNUNET_break (rd_ser_len == GNUNET_NAMESTORE_records_serialize (rd_count, rd, rd_ser_len, rd_ser));
1082 1083
1083 LOG (GNUNET_ERROR_TYPE_DEBUG, 1084 LOG (GNUNET_ERROR_TYPE_DEBUG,
1084 "Sending `%s' message for name `%s' with size %u\n", 1085 "Sending `%s' message for name `%s' with size %u and %u records\n",
1085 "NAMESTORE_RECORD_STORE", label, msg_size); 1086 "NAMESTORE_RECORD_STORE", label, msg_size,
1087 rd_count);
1086 GNUNET_CONTAINER_DLL_insert_tail (h->pending_head, h->pending_tail, pe); 1088 GNUNET_CONTAINER_DLL_insert_tail (h->pending_head, h->pending_tail, pe);
1087 do_transmit(h); 1089 do_transmit(h);
1088 return qe; 1090 return qe;