From ed4600154d6c08e82659024263152b76cbb67a63 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Mon, 23 Apr 2012 05:23:13 +0000 Subject: [PATCH] -fix --- src/core/test_core_quota_compliance.c | 2 ++ src/dht/gnunet-service-dht_neighbours.c | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/core/test_core_quota_compliance.c b/src/core/test_core_quota_compliance.c index 7c16531d8..13a837ceb 100644 --- a/src/core/test_core_quota_compliance.c +++ b/src/core/test_core_quota_compliance.c @@ -126,6 +126,8 @@ terminate_task (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) struct GNUNET_CORE_Handle *ch; err_task = GNUNET_SCHEDULER_NO_TASK; + GNUNET_STATISTICS_destroy (p1.stats, GNUNET_NO); + GNUNET_STATISTICS_destroy (p2.stats, GNUNET_NO); GNUNET_TRANSPORT_get_hello_cancel (p2.ghh); GNUNET_TRANSPORT_get_hello_cancel (p1.ghh); if (p1.nth != NULL) diff --git a/src/dht/gnunet-service-dht_neighbours.c b/src/dht/gnunet-service-dht_neighbours.c index 57c06ea58..3d148270d 100644 --- a/src/dht/gnunet-service-dht_neighbours.c +++ b/src/dht/gnunet-service-dht_neighbours.c @@ -1555,7 +1555,7 @@ handle_dht_p2p_put (void *cls, const struct GNUNET_PeerIdentity *peer, break; } GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "PUT for `%s' from %s\n", - GNUNET_h2s (&put->key), GNUNET_i2s (&peer->hashPubKey)); + GNUNET_h2s (&put->key), GNUNET_i2s (peer)); bf = GNUNET_CONTAINER_bloomfilter_init (put->bloomfilter, DHT_BLOOM_SIZE, GNUNET_CONSTANTS_BLOOMFILTER_K); GNUNET_break_op (GNUNET_YES == -- 2.25.1