mirror of
https://github.com/status-im/miniupnp.git
synced 2025-02-02 01:26:45 +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;
|
continue;
|
||||||
}
|
}
|
||||||
/* uncatched error */
|
/* uncatched error */
|
||||||
|
/* remove from the list */
|
||||||
|
LIST_REMOVE(elt, entries);
|
||||||
|
free(elt);
|
||||||
return n;
|
return n;
|
||||||
} else {
|
} else {
|
||||||
/* remove from the list */
|
/* remove from the list */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user