diff options
author | Anton Luka Šijanec <anton@sijanec.eu> | 2023-03-11 16:43:46 +0100 |
---|---|---|
committer | Anton Luka Šijanec <anton@sijanec.eu> | 2023-03-11 16:43:46 +0100 |
commit | 927ac3757076728742832ab5ee897db93b079dff (patch) | |
tree | 1a71297e69ea9da0aa23cc61d32dc56eff3a57c0 | |
parent | infloop fix (diff) | |
download | travnik-927ac3757076728742832ab5ee897db93b079dff.tar travnik-927ac3757076728742832ab5ee897db93b079dff.tar.gz travnik-927ac3757076728742832ab5ee897db93b079dff.tar.bz2 travnik-927ac3757076728742832ab5ee897db93b079dff.tar.lz travnik-927ac3757076728742832ab5ee897db93b079dff.tar.xz travnik-927ac3757076728742832ab5ee897db93b079dff.tar.zst travnik-927ac3757076728742832ab5ee897db93b079dff.zip |
Diffstat (limited to '')
-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; |