diff options
author | Nathan S. Evans <evans@in.tum.de> | 2011-02-17 17:30:00 +0000 |
---|---|---|
committer | Nathan S. Evans <evans@in.tum.de> | 2011-02-17 17:30:00 +0000 |
commit | c777076875d38c6f6bf73502211e6939c9889e9c (patch) | |
tree | edf8ef82cab2e55208e8101f1774838fffd9ab94 /src/dht | |
parent | fc5042202a772ca2659f60e87baa169a11a7b8a5 (diff) | |
download | gnunet-c777076875d38c6f6bf73502211e6939c9889e9c.tar.gz gnunet-c777076875d38c6f6bf73502211e6939c9889e9c.zip |
fix
Diffstat (limited to 'src/dht')
-rw-r--r-- | src/dht/gnunet-dht-driver.c | 3 |
1 files changed, 2 insertions, 1 deletions
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 | |||
2545 | } | 2545 | } |
2546 | #endif | 2546 | #endif |
2547 | 2547 | ||
2548 | #if ONLY_TESTING | ||
2548 | /* Forward declaration */ | 2549 | /* Forward declaration */ |
2549 | static void | 2550 | static void |
2550 | topology_callback (void *cls, | 2551 | topology_callback (void *cls, |
@@ -2577,7 +2578,7 @@ repeat_connect (void *cls, const struct GNUNET_SCHEDULER_TaskContext * tc) | |||
2577 | GNUNET_TIME_relative_multiply(GNUNET_TIME_UNIT_SECONDS, 60), | 2578 | GNUNET_TIME_relative_multiply(GNUNET_TIME_UNIT_SECONDS, 60), |
2578 | 2, &topology_callback, NULL); | 2579 | 2, &topology_callback, NULL); |
2579 | } | 2580 | } |
2580 | 2581 | #endif | |
2581 | 2582 | ||
2582 | /** | 2583 | /** |
2583 | * This function is called whenever a connection attempt is finished between two of | 2584 | * This function is called whenever a connection attempt is finished between two of |