Przeglądaj źródła

Remove assertion about the end of pollfd array

See bug #54933.

Signed-off-by: Simon Goldschmidt <goldsimon@gmx.de>
(cherry picked from commit 284659156d89baef56a043dc94ba6b11fbe8e146)
Joan Lledó 7 lat temu
rodzic
commit
2d2336014c
1 zmienionych plików z 0 dodań i 1 usunięć
  1. 0 1
      src/api/sockets.c

+ 0 - 1
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);
       }