mirror of
https://github.com/status-im/miniupnp.git
synced 2025-01-22 04:09:13 +00:00
asyncsendto: remove failed sendto() from queue
This commit is contained in:
parent
d20d959920
commit
1985cbf3ef
@ -181,6 +181,9 @@ int try_sendto(fd_set * writefds)
|
||||
continue;
|
||||
}
|
||||
/* uncatched error */
|
||||
/* remove from the list */
|
||||
LIST_REMOVE(elt, entries);
|
||||
free(elt);
|
||||
return n;
|
||||
} else {
|
||||
/* remove from the list */
|
||||
|
Loading…
x
Reference in New Issue
Block a user