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…
Reference in New Issue