mirror of
https://git.savannah.nongnu.org/git/lwip.git
synced 2025-08-04 21:44:38 +08:00
Remove assertion about the end of pollfd array
See bug #54933. Signed-off-by: Simon Goldschmidt <goldsimon@gmx.de>
This commit is contained in:
parent
3c17c1e82e
commit
284659156d
@ -2304,7 +2304,6 @@ lwip_poll_dec_sockets_used(struct pollfd *fds, nfds_t nfds)
|
|||||||
/* Go through each struct pollfd in the array. */
|
/* Go through each struct pollfd in the array. */
|
||||||
for (fdi = 0; fdi < nfds; fdi++) {
|
for (fdi = 0; fdi < nfds; fdi++) {
|
||||||
struct lwip_sock *sock = tryget_socket_unconn_nouse(fds[fdi].fd);
|
struct lwip_sock *sock = tryget_socket_unconn_nouse(fds[fdi].fd);
|
||||||
LWIP_ASSERT("socket gone at the end of select", sock != NULL);
|
|
||||||
if (sock != NULL) {
|
if (sock != NULL) {
|
||||||
done_socket(sock);
|
done_socket(sock);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user