diff options
author | Nathan S. Evans <evans@in.tum.de> | 2011-01-23 15:10:19 +0000 |
---|---|---|
committer | Nathan S. Evans <evans@in.tum.de> | 2011-01-23 15:10:19 +0000 |
commit | cc1b20d2aa5b49e60a8742057ea07e06e3573cef (patch) | |
tree | 6102a28ac05f5a938277e3fee94149badc6a1bc9 | |
parent | c88759e48cf04929c6162147c53505bdc21e41bf (diff) | |
download | gnunet-cc1b20d2aa5b49e60a8742057ea07e06e3573cef.tar.gz gnunet-cc1b20d2aa5b49e60a8742057ea07e06e3573cef.zip |
malicious even when settle time = 0 and malicious_after_settle is true
-rw-r--r-- | src/dht/gnunet-dht-driver.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dht/gnunet-dht-driver.c b/src/dht/gnunet-dht-driver.c index c5af91303..6f50fa201 100644 --- a/src/dht/gnunet-dht-driver.c +++ b/src/dht/gnunet-dht-driver.c | |||
@@ -2260,7 +2260,7 @@ continue_puts_and_gets (void *cls, const struct GNUNET_SCHEDULER_TaskContext * t | |||
2260 | dhtlog_handle->insert_round(DHT_ROUND_NORMAL, rounds_finished); | 2260 | dhtlog_handle->insert_round(DHT_ROUND_NORMAL, rounds_finished); |
2261 | 2261 | ||
2262 | #if HAVE_MALICIOUS | 2262 | #if HAVE_MALICIOUS |
2263 | if (GNUNET_YES != malicious_after_settle) | 2263 | if ((GNUNET_YES != malicious_after_settle) && (settle_time > 0)) |
2264 | { | 2264 | { |
2265 | GNUNET_SCHEDULER_add_now(&setup_malicious_peers, NULL); | 2265 | GNUNET_SCHEDULER_add_now(&setup_malicious_peers, NULL); |
2266 | } | 2266 | } |