From 68fe463c8474de71f2e1814fc3fd92a0c684f729 Mon Sep 17 00:00:00 2001 From: brain Date: Thu, 11 Jan 2007 06:20:06 +0000 Subject: Quick tweak before work, set the default force=false in these (im not keen on 'force' at all, its major ugly hax, but *shrug* :( how does it even know we're using epoll or kqueue etc???) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6298 e03df62e-2008-0410-955e-edbf42e46eb7 --- include/socketengine_epoll.h | 2 +- include/socketengine_kqueue.h | 2 +- include/socketengine_select.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'include') diff --git a/include/socketengine_epoll.h b/include/socketengine_epoll.h index d61e8e865..736a109eb 100644 --- a/include/socketengine_epoll.h +++ b/include/socketengine_epoll.h @@ -45,7 +45,7 @@ public: virtual bool AddFd(EventHandler* eh); virtual int GetMaxFds(); virtual int GetRemainingFds(); - virtual bool DelFd(EventHandler* eh, bool force); + virtual bool DelFd(EventHandler* eh, bool force = false); virtual int DispatchEvents(); virtual std::string GetName(); virtual void WantWrite(EventHandler* eh); diff --git a/include/socketengine_kqueue.h b/include/socketengine_kqueue.h index 505607dae..e7413d4bb 100644 --- a/include/socketengine_kqueue.h +++ b/include/socketengine_kqueue.h @@ -49,7 +49,7 @@ public: virtual bool AddFd(EventHandler* eh); virtual int GetMaxFds(); virtual int GetRemainingFds(); - virtual bool DelFd(EventHandler* eh, bool force); + virtual bool DelFd(EventHandler* eh, bool force = false); virtual int DispatchEvents(); virtual std::string GetName(); virtual void WantWrite(EventHandler* eh); diff --git a/include/socketengine_select.h b/include/socketengine_select.h index ed774f5c1..2126e8ec5 100644 --- a/include/socketengine_select.h +++ b/include/socketengine_select.h @@ -50,7 +50,7 @@ public: virtual bool AddFd(EventHandler* eh); virtual int GetMaxFds(); virtual int GetRemainingFds(); - virtual bool DelFd(EventHandler* eh, bool force); + virtual bool DelFd(EventHandler* eh, bool force = false); virtual int DispatchEvents(); virtual std::string GetName(); virtual void WantWrite(EventHandler* eh); -- cgit v1.2.3