[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r16963 - gnunet/src/dht
From: |
gnunet |
Subject: |
[GNUnet-SVN] r16963 - gnunet/src/dht |
Date: |
Mon, 19 Sep 2011 22:05:27 +0200 |
Author: grothoff
Date: 2011-09-19 22:05:27 +0200 (Mon, 19 Sep 2011)
New Revision: 16963
Modified:
gnunet/src/dht/test_dht_twopeer.c
Log:
print emsg
Modified: gnunet/src/dht/test_dht_twopeer.c
===================================================================
--- gnunet/src/dht/test_dht_twopeer.c 2011-09-19 20:01:22 UTC (rev 16962)
+++ gnunet/src/dht/test_dht_twopeer.c 2011-09-19 20:05:27 UTC (rev 16963)
@@ -166,7 +166,7 @@
* @param size number of bytes in data
* @param data pointer to the result data
*/
-void
+static void
get_result_iterator (void *cls, struct GNUNET_TIME_Absolute exp,
const GNUNET_HashCode * key,
const struct GNUNET_PeerIdentity *const *get_path,
@@ -180,6 +180,12 @@
{
GNUNET_log (GNUNET_ERROR_TYPE_WARNING,
"Key returned is not the same key as was searched for!\n");
+ fprintf (stderr,
+ "Looked for key `%s'\n",
+ GNUNET_h2s (&get_context->peer->hashPubKey));
+ fprintf (stderr,
+ "Got key `%s'\n",
+ GNUNET_h2s (key));
GNUNET_SCHEDULER_cancel (die_task);
die_task =
GNUNET_SCHEDULER_add_now (&end_badly,
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r16963 - gnunet/src/dht,
gnunet <=