Committer : isomer
CVSROOT : /cvsroot/undernet-ircu
Module : ircu2.10
Commit time: 2005-02-19 21:47:43 UTC
Modified files:
ChangeLog ircd/engine_epoll.c
Log message:
Author: Perry Lorier <[EMAIL PROTECTED]>
Log message:
The prototype of getsockopt() has a socklen_t not size_t, this patch fixes
a warning generated on amd64 machines.
---------------------- diff included ----------------------
Index: ircu2.10/ChangeLog
diff -u ircu2.10/ChangeLog:1.553 ircu2.10/ChangeLog:1.554
--- ircu2.10/ChangeLog:1.553 Sat Feb 19 09:15:38 2005
+++ ircu2.10/ChangeLog Sat Feb 19 13:47:31 2005
@@ -1,3 +1,8 @@
+2005-02-20 Perry Lorier <[EMAIL PROTECTED]>
+
+ * ircd/engine_epoll.c: Change a size_t to socklen_t to match
+ getsockopt prototype, so it compiles without warning on amd64
+
2005-02-19 Michael Poole <[EMAIL PROTECTED]>
* ircd/s_err.c (RPL_STATSCLINE): Add format field to prefix IPv6
Index: ircu2.10/ircd/engine_epoll.c
diff -u ircu2.10/ircd/engine_epoll.c:1.8 ircu2.10/ircd/engine_epoll.c:1.9
--- ircu2.10/ircd/engine_epoll.c:1.8 Fri Dec 10 21:13:44 2004
+++ ircu2.10/ircd/engine_epoll.c Sat Feb 19 13:47:32 2005
@@ -18,7 +18,7 @@
*/
/** @file
* @brief Linux epoll_*() event engine.
- * @version $Id: engine_epoll.c,v 1.8 2004/12/11 05:13:44 klmitch Exp $
+ * @version $Id: engine_epoll.c,v 1.9 2005/02/19 21:47:32 isomer Exp $
*/
#include "config.h"
@@ -226,7 +226,7 @@
{
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)
----------------------- End of diff -----------------------