Author: Perry Lorier <isomer@undernet.org>
[ircu2.10.12-pk.git] / ircd / engine_epoll.c
index c44e135da44d01bdd4f9760da23db177bbb29d2e..f3ad19eea5d7ade52af9460d1f5c5124b03ed750 100644 (file)
@@ -29,7 +29,7 @@
 #include "ircd_log.h"
 #include "s_debug.h"
 
-#include <assert.h>
+/* #include <assert.h> -- Now using assert in ircd_log.h */
 #include <errno.h>
 #include <sys/types.h>
 #ifdef HAVE_STDINT_H
@@ -226,7 +226,7 @@ engine_loop(struct Generators *gen)
 {
   struct epoll_event *events;
   struct Socket *sock;
-  size_t codesize;
+  socklen_t codesize;
   int events_count, i, wait, nevs, errcode;
 
   if ((events_count = feature_int(FEAT_POLLS_PER_LOOP)) < 20)