From: Christian Grothoff Date: Sun, 22 Apr 2012 23:06:11 +0000 (+0000) Subject: -improve debug statement X-Git-Tag: initial-import-from-subversion-38251~13833 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=cd88f5003a806f9b8835181a8579f29e2ecefd28;p=oweals%2Fgnunet.git -improve debug statement --- diff --git a/src/dht/gnunet-service-dht_neighbours.c b/src/dht/gnunet-service-dht_neighbours.c index 22c69f10d..57c06ea58 100644 --- a/src/dht/gnunet-service-dht_neighbours.c +++ b/src/dht/gnunet-service-dht_neighbours.c @@ -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 ==