diff options
author | Matthias Wachs <wachs@net.in.tum.de> | 2010-10-29 13:57:00 +0000 |
---|---|---|
committer | Matthias Wachs <wachs@net.in.tum.de> | 2010-10-29 13:57:00 +0000 |
commit | de2a892729103d2f4743d5df52ca143e5969d04a (patch) | |
tree | ea81585c7ae16d11ed8ccea06335ad735c7e4305 | |
parent | a55a09f87a06537341162439620cde3fbfe6f4c4 (diff) | |
download | gnunet-de2a892729103d2f4743d5df52ca143e5969d04a.tar.gz gnunet-de2a892729103d2f4743d5df52ca143e5969d04a.zip |
removal proposed by LRN
-rw-r--r-- | src/dht/gnunet-service-dht.c | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/src/dht/gnunet-service-dht.c b/src/dht/gnunet-service-dht.c index 8b5de2157..5a5fa6fa8 100644 --- a/src/dht/gnunet-service-dht.c +++ b/src/dht/gnunet-service-dht.c | |||
@@ -2845,28 +2845,6 @@ am_closest_peer (const GNUNET_HashCode * target, struct GNUNET_CONTAINER_BloomFi | |||
2845 | pos = pos->next; | 2845 | pos = pos->next; |
2846 | } | 2846 | } |
2847 | 2847 | ||
2848 | #if DEBUG_TABLE | ||
2849 | GNUNET_GE_LOG (coreAPI->ectx, | ||
2850 | GNUNET_GE_WARNING | GNUNET_GE_ADMIN | GNUNET_GE_USER | | ||
2851 | GNUNET_GE_BULK, "closest peer\n"); | ||
2852 | printPeerBits (&closest); | ||
2853 | GNUNET_GE_LOG (coreAPI->ectx, | ||
2854 | GNUNET_GE_WARNING | GNUNET_GE_ADMIN | GNUNET_GE_USER | | ||
2855 | GNUNET_GE_BULK, "me\n"); | ||
2856 | printPeerBits (coreAPI->my_identity); | ||
2857 | GNUNET_GE_LOG (coreAPI->ectx, | ||
2858 | GNUNET_GE_WARNING | GNUNET_GE_ADMIN | GNUNET_GE_USER | | ||
2859 | GNUNET_GE_BULK, "key\n"); | ||
2860 | printKeyBits (target); | ||
2861 | GNUNET_GE_LOG (coreAPI->ectx, | ||
2862 | GNUNET_GE_WARNING | GNUNET_GE_ADMIN | GNUNET_GE_USER | | ||
2863 | GNUNET_GE_BULK, | ||
2864 | "closest peer inverse distance is %u, mine is %u\n", | ||
2865 | inverse_distance (target, &closest.hashPubKey), | ||
2866 | inverse_distance (target, | ||
2867 | &coreAPI->my_identity->hashPubKey)); | ||
2868 | #endif | ||
2869 | |||
2870 | /* No peers closer, we are the closest! */ | 2848 | /* No peers closer, we are the closest! */ |
2871 | return GNUNET_YES; | 2849 | return GNUNET_YES; |
2872 | } | 2850 | } |