diff options
author | Nathan S. Evans <evans@in.tum.de> | 2011-01-23 15:23:45 +0000 |
---|---|---|
committer | Nathan S. Evans <evans@in.tum.de> | 2011-01-23 15:23:45 +0000 |
commit | 7fc649b003d105b2fbc31aa7a4d10a60c6d64cfe (patch) | |
tree | 8dfe8083eaa1a434f16c75327137b47b6400abf9 | |
parent | cc1b20d2aa5b49e60a8742057ea07e06e3573cef (diff) | |
download | gnunet-7fc649b003d105b2fbc31aa7a4d10a60c6d64cfe.tar.gz gnunet-7fc649b003d105b2fbc31aa7a4d10a60c6d64cfe.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 6f50fa201..cae9bb3db 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) && (settle_time > 0)) | 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 | } |