mirror of
https://github.com/servalproject/serval-dna.git
synced 2025-01-18 10:46:23 +00:00
Issue #30, fox SEGV bug in new Rhizome fetch queue code
The rhizomestress test now passes, also all rhizomeprotocol tests.
This commit is contained in:
parent
a9d3a1387c
commit
9ee9b63aad
@ -147,7 +147,7 @@ static void rhizome_fetch_unqueue(struct rhizome_fetch_queue *q, int i)
|
||||
struct rhizome_fetch_candidate *e = &q->candidate_queue[q->candidate_queue_size - 1];
|
||||
for (; c < e && c[1].manifest; ++c)
|
||||
c[0] = c[1];
|
||||
e->manifest = NULL;
|
||||
c->manifest = NULL;
|
||||
}
|
||||
|
||||
/* Return true if there are any active fetches currently in progress.
|
||||
|
Loading…
Reference in New Issue
Block a user