projects
/
oweals
/
gnunet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c88759e
)
malicious even when settle time = 0 and malicious_after_settle is true
author
Nathan S. Evans
<evans@in.tum.de>
Sun, 23 Jan 2011 15:10:19 +0000
(15:10 +0000)
committer
Nathan S. Evans
<evans@in.tum.de>
Sun, 23 Jan 2011 15:10:19 +0000
(15:10 +0000)
src/dht/gnunet-dht-driver.c
patch
|
blob
|
history
diff --git
a/src/dht/gnunet-dht-driver.c
b/src/dht/gnunet-dht-driver.c
index c5af913039031ba501998efdc3fef026ff89c026..6f50fa201c1cdb5aef1608c758e9b79f00579a19 100644
(file)
--- 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
)
+ if (
(GNUNET_YES != malicious_after_settle) && (settle_time > 0)
)
{
GNUNET_SCHEDULER_add_now(&setup_malicious_peers, NULL);
}