[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r29655 - gnunet/src/dht
From: |
gnunet |
Subject: |
[GNUnet-SVN] r29655 - gnunet/src/dht |
Date: |
Fri, 27 Sep 2013 14:02:45 +0200 |
Author: bartpolot
Date: 2013-09-27 14:02:45 +0200 (Fri, 27 Sep 2013)
New Revision: 29655
Modified:
gnunet/src/dht/gnunet-service-dht_neighbours.c
Log:
- debug
Modified: gnunet/src/dht/gnunet-service-dht_neighbours.c
===================================================================
--- gnunet/src/dht/gnunet-service-dht_neighbours.c 2013-09-27 12:02:02 UTC
(rev 29654)
+++ gnunet/src/dht/gnunet-service-dht_neighbours.c 2013-09-27 12:02:45 UTC
(rev 29655)
@@ -1602,7 +1602,7 @@
tmp = GNUNET_strdup (GNUNET_i2s (&my_identity));
LOG_TRAFFIC (GNUNET_ERROR_TYPE_DEBUG,
- "XDHT PUT %s: %s->%s (%u, %u=>%u)\n",
+ "XDHT PUT %s: %s->%s (%u, %u=>%u)\n",
GNUNET_h2s (&put->key), GNUNET_i2s (peer), tmp,
ntohl(put->hop_count),
GNUNET_CRYPTO_hash_matching_bits (&peer->hashPubKey,
&put->key),
@@ -1617,7 +1617,12 @@
case GNUNET_YES:
if (0 != memcmp (&test_key, &put->key, sizeof (struct GNUNET_HashCode)))
{
+ char *put_s = GNUNET_strdup (GNUNET_h2s (&put->key));
GNUNET_break_op (0);
+ GNUNET_log (GNUNET_ERROR_TYPE_WARNING,
+ "PUT with key `%s' for block with key %s\n",
+ put_s, GNUNET_h2s (&test_key));
+ GNUNET_free (put_s);
return GNUNET_YES;
}
break;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r29655 - gnunet/src/dht,
gnunet <=