From 49b456e44cc9ce63ab6a9edb2bc779659d5d3925 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Mon, 19 Sep 2011 20:07:17 +0000 Subject: [PATCH] print emsg --- src/dht/test_dht_twopeer.c | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/src/dht/test_dht_twopeer.c b/src/dht/test_dht_twopeer.c index eddd230b7..99f1ab9ca 100644 --- a/src/dht/test_dht_twopeer.c +++ b/src/dht/test_dht_twopeer.c @@ -247,7 +247,10 @@ get_stop_finished (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) GNUNET_SCHEDULER_add_delayed (GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_SECONDS, 10), &stop_retry_get, get_context); - get_context->get_handle = + fprintf (stderr, + "Looking for key `%s'\n", + GNUNET_h2s (&get_context->peer->hashPubKey)); + get_context->get_handle = GNUNET_DHT_get_start (get_context->dht_handle, GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_SECONDS, 5), @@ -281,7 +284,10 @@ do_get (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) (GNUNET_TIME_UNIT_SECONDS, 10), &stop_retry_get, get_context); - get_context->get_handle = + fprintf (stderr, + "Looking for key `%s'\n", + GNUNET_h2s (&get_context->peer->hashPubKey)); + get_context->get_handle = GNUNET_DHT_get_start (get_context->dht_handle, GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_SECONDS, 5), -- 2.25.1