diff options
Diffstat (limited to 'src/dht.c')
-rw-r--r-- | src/dht.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2335,7 +2335,7 @@ void periodic (struct dht * d) { RTGP(buckets); RTGP(buckets6); } - while (sent < 1) { + if (sent < 1) { struct bucket * b = d->buckets; while (sent < 1 && b) { n = b->nodes; |