log eval result
authorChristian Grothoff <christian@grothoff.org>
Mon, 24 Oct 2011 16:27:42 +0000 (16:27 +0000)
committerChristian Grothoff <christian@grothoff.org>
Mon, 24 Oct 2011 16:27:42 +0000 (16:27 +0000)
src/dht/gnunet-service-dht_datacache.c

index 1ba176e6eaa13f34bb9feb57c8c5e0c104532b74..8876aeea4201c49a6361db799339ce8e7b649283 100644 (file)
@@ -199,7 +199,11 @@ datacache_get_iterator (void *cls, struct GNUNET_TIME_Absolute exp,
                              ctx->xquery_size, 
                             rdata,
                              rdata_size);
-  ctx->eval = eval;      
+  GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
+             "Found reply for query %s in datacache, evaluation result is %d\n",
+             GNUNET_h2s (key),
+             (int) eval);
+  ctx->eval = eval;
   switch (eval)
   {
   case GNUNET_BLOCK_EVALUATION_OK_LAST: