fix bug introduced with BLOCK change where we would eval a local reply twice and...
[oweals/gnunet.git] / src / dht / gnunet-service-dht_routing.c
index 252995737f9ae99cca506e7df8fbaef57dd6047c..eebeedc22df0ba798f6134e6f07b6bf77a8c929a 100644 (file)
@@ -209,6 +209,11 @@ process (void *cls,
                              rr->xquery_size,
                              pc->data,
                              pc->data_size);
+  GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
+              "Result for %s of type %d was evaluated as %d\n",
+              GNUNET_h2s (key),
+              pc->type,
+              eval);
   switch (eval)
   {
   case GNUNET_BLOCK_EVALUATION_OK_MORE:
@@ -271,6 +276,7 @@ process (void *cls,
  * GDS_NEIGHBOURS_handle_reply for all peers that sent us a matching
  * request recently.
  *
+ * @param cls NULL (why have it?)
  * @param type type of the block
  * @param expiration_time when does the content expire
  * @param key key for the content