added gnutls backend and moved backend code into new files
[ircu2.10.12-pk.git] / ircd / engine_select.c
index efb38c28aaff2fa925d978ab543d7b2fabe8fb19..436f10baa1122b86007990d1c0fc922a919879e2 100644 (file)
@@ -54,7 +54,6 @@
  *   have abruptly redefined it so the check is still done), you might
  *   already need to recompile your kernel.
  * For larger FD_SETSIZE your mileage may vary (kernel patches may be needed).
- * The check is _NOT_ done if we will not use FD_SETS at all (USE_POLL)
  */
 # error FD_SETSIZE is too small or MAXCONNECTIONS too large.
 #endif
@@ -266,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) {
@@ -404,8 +403,6 @@ engine_loop(struct Generators* gen)
        break;
       }
 
-      assert(s_fd(sock) == i);
-
       gen_ref_dec(sock); /* we're done with it */
     }