removal proposed by LRN
authorMatthias Wachs <wachs@net.in.tum.de>
Fri, 29 Oct 2010 13:57:00 +0000 (13:57 +0000)
committerMatthias Wachs <wachs@net.in.tum.de>
Fri, 29 Oct 2010 13:57:00 +0000 (13:57 +0000)
src/dht/gnunet-service-dht.c

index 8b5de21574b21b7d786d70a939b5bd2c35b06ba2..5a5fa6fa8cd54d69f0ed640bd8400bdba98dbdf9 100644 (file)
@@ -2845,28 +2845,6 @@ am_closest_peer (const GNUNET_HashCode * target, struct GNUNET_CONTAINER_BloomFi
       pos = pos->next;
     }
 
-#if DEBUG_TABLE
-  GNUNET_GE_LOG (coreAPI->ectx,
-                 GNUNET_GE_WARNING | GNUNET_GE_ADMIN | GNUNET_GE_USER |
-                 GNUNET_GE_BULK, "closest peer\n");
-  printPeerBits (&closest);
-  GNUNET_GE_LOG (coreAPI->ectx,
-                 GNUNET_GE_WARNING | GNUNET_GE_ADMIN | GNUNET_GE_USER |
-                 GNUNET_GE_BULK, "me\n");
-  printPeerBits (coreAPI->my_identity);
-  GNUNET_GE_LOG (coreAPI->ectx,
-                 GNUNET_GE_WARNING | GNUNET_GE_ADMIN | GNUNET_GE_USER |
-                 GNUNET_GE_BULK, "key\n");
-  printKeyBits (target);
-  GNUNET_GE_LOG (coreAPI->ectx,
-                 GNUNET_GE_WARNING | GNUNET_GE_ADMIN | GNUNET_GE_USER |
-                 GNUNET_GE_BULK,
-                 "closest peer inverse distance is %u, mine is %u\n",
-                 inverse_distance (target, &closest.hashPubKey),
-                 inverse_distance (target,
-                                   &coreAPI->my_identity->hashPubKey));
-#endif
-
   /* No peers closer, we are the closest! */
   return GNUNET_YES;
 }