Fixed loop
This commit is contained in:
parent
8a492c1e2f
commit
c58bfc9b1e
2 changed files with 3 additions and 0 deletions
|
@ -419,6 +419,7 @@ struct PeerRequest* ipfs_peer_request_queue_find_peer(struct PeerRequestQueue* q
|
|||
if (libp2p_peer_compare(entry->current->peer, peer) == 0) {
|
||||
return entry->current;
|
||||
}
|
||||
entry = entry->next;
|
||||
}
|
||||
|
||||
// we didn't find one, so create one
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue