From: Nathan S. Evans Date: Thu, 17 Feb 2011 17:30:00 +0000 (+0000) Subject: fix X-Git-Tag: initial-import-from-subversion-38251~19103 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=c777076875d38c6f6bf73502211e6939c9889e9c;p=oweals%2Fgnunet.git fix --- diff --git a/src/dht/gnunet-dht-driver.c b/src/dht/gnunet-dht-driver.c index ab4a4a8f5..f5521f099 100644 --- a/src/dht/gnunet-dht-driver.c +++ b/src/dht/gnunet-dht-driver.c @@ -2545,6 +2545,7 @@ setup_malicious_peers (void *cls, const struct GNUNET_SCHEDULER_TaskContext * tc } #endif +#if ONLY_TESTING /* Forward declaration */ static void topology_callback (void *cls, @@ -2577,7 +2578,7 @@ repeat_connect (void *cls, const struct GNUNET_SCHEDULER_TaskContext * tc) GNUNET_TIME_relative_multiply(GNUNET_TIME_UNIT_SECONDS, 60), 2, &topology_callback, NULL); } - +#endif /** * This function is called whenever a connection attempt is finished between two of