From 1cb625e2a216704f9e59f2b9cfb2b0611e4f12f5 Mon Sep 17 00:00:00 2001 From: w00t Date: Sun, 18 Jan 2009 13:12:22 +0000 Subject: Missed one, thx peavey! git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10972 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/socketengines/socketengine_kqueue.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/socketengines') diff --git a/src/socketengines/socketengine_kqueue.cpp b/src/socketengines/socketengine_kqueue.cpp index c07684506..81ef4be1d 100644 --- a/src/socketengines/socketengine_kqueue.cpp +++ b/src/socketengines/socketengine_kqueue.cpp @@ -181,7 +181,7 @@ int KQueueEngine::DispatchEvents() if (ref[ke_list[j].ident]) ref[ke_list[j].ident]->HandleEvent(EVENT_WRITE); } - if (ke_list[j].flags == EVFILT_READ) + if (ke_list[j].filter == EVFILT_READ) { ReadEvents++; if (ref[ke_list[j].ident]) -- cgit v1.2.3