summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoan Lledó <[email protected]>2018-11-01 17:48:52 +0100
committerSimon Goldschmidt <[email protected]>2018-11-06 13:15:04 +0100
commit2d2336014c56ca662f065f4b98d7e9debc65c7db (patch)
tree17c3e450c5f0515722d44b9700a640d69b25db63
parentdef427bcaf933e3c6b855555d8f2a1b2370fe3f2 (diff)
Remove assertion about the end of pollfd array
See bug #54933. Signed-off-by: Simon Goldschmidt <[email protected]> (cherry picked from commit 284659156d89baef56a043dc94ba6b11fbe8e146)
-rw-r--r--src/api/sockets.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/api/sockets.c b/src/api/sockets.c
index 783dfe87..44cab7ed 100644
--- a/src/api/sockets.c
+++ b/src/api/sockets.c
@@ -2304,7 +2304,6 @@ lwip_poll_dec_sockets_used(struct pollfd *fds, nfds_t nfds)
/* Go through each struct pollfd in the array. */
for (fdi = 0; fdi < nfds; fdi++) {
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) {
done_socket(sock);
}