summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNathan S. Evans <evans@in.tum.de>2011-01-23 15:23:45 +0000
committerNathan S. Evans <evans@in.tum.de>2011-01-23 15:23:45 +0000
commit7fc649b003d105b2fbc31aa7a4d10a60c6d64cfe (patch)
tree8dfe8083eaa1a434f16c75327137b47b6400abf9
parentcc1b20d2aa5b49e60a8742057ea07e06e3573cef (diff)
malicious even when settle time = 0 and malicious_after_settle is true
-rw-r--r--src/dht/gnunet-dht-driver.c2
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
dhtlog_handle->insert_round(DHT_ROUND_NORMAL, rounds_finished);
#if HAVE_MALICIOUS
- if ((GNUNET_YES != malicious_after_settle) && (settle_time > 0))
+ if ((GNUNET_YES != malicious_after_settle) || (settle_time == 0))
{
GNUNET_SCHEDULER_add_now(&setup_malicious_peers, NULL);
}