-improve debug statement
authorChristian Grothoff <christian@grothoff.org>
Sun, 22 Apr 2012 23:06:11 +0000 (23:06 +0000)
committerChristian Grothoff <christian@grothoff.org>
Sun, 22 Apr 2012 23:06:11 +0000 (23:06 +0000)
src/dht/gnunet-service-dht_neighbours.c

index 22c69f10de06fb9d60e2e4970fa8b19b85f0a862..57c06ea580d9b75bd7fde64dd68755804ee057bb 100644 (file)
@@ -1554,8 +1554,8 @@ handle_dht_p2p_put (void *cls, const struct GNUNET_PeerIdentity *peer,
     /* cannot verify, good luck */
     break;
   }
-  GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "PUT for %s at %s\n",
-              GNUNET_h2s (&put->key), GNUNET_i2s (&my_identity));
+  GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "PUT for `%s' from %s\n",
+              GNUNET_h2s (&put->key), GNUNET_i2s (&peer->hashPubKey));
   bf = GNUNET_CONTAINER_bloomfilter_init (put->bloomfilter, DHT_BLOOM_SIZE,
                                           GNUNET_CONSTANTS_BLOOMFILTER_K);
   GNUNET_break_op (GNUNET_YES ==