Fix SF bug #2852954 by removing the spurious assertion.
[ircu2.10.12-pk.git] / ircd / engine_select.c
index dbe9a3e4ddbde3b0e8f8c84574cc9d52073679aa..436f10baa1122b86007990d1c0fc922a919879e2 100644 (file)
@@ -265,7 +265,7 @@ engine_loop(struct Generators* gen)
   int nfds;
   int i;
   int errcode;
-  size_t codesize;
+  socklen_t codesize;
   struct Socket *sock;
 
   while (running) {
@@ -403,8 +403,6 @@ engine_loop(struct Generators* gen)
        break;
       }
 
-      assert(s_fd(sock) == i);
-
       gen_ref_dec(sock); /* we're done with it */
     }