mirror of
https://github.com/servalproject/serval-dna.git
synced 2025-02-21 09:51:50 +00:00
fixed bug that prevented remaining rhizome tests from passing.
This commit is contained in:
parent
a7e09aac2c
commit
2e4e111764
@ -1502,7 +1502,8 @@ void rhizome_fetch_poll(struct sched_ent *alarm)
|
||||
// timeout or socket error, close the socket
|
||||
if (debug & DEBUG_RHIZOME_RX)
|
||||
DEBUGF("Closing due to timeout or error %x (%x %x)", alarm->poll.revents, POLLHUP, POLLERR);
|
||||
rhizome_fetch_close(slot);
|
||||
if (slot->state!=RHIZOME_FETCH_FREE)
|
||||
rhizome_fetch_close(slot);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user