From 67cf8f594aa36edfca40511d245626dae258999a Mon Sep 17 00:00:00 2001 From: brain Date: Sun, 24 Sep 2006 12:39:59 +0000 Subject: Fix bug#152 reported by smartys git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5316 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/socketengine_select.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/socketengine_select.cpp b/src/socketengine_select.cpp index 04f49bac5..8d0ed446c 100644 --- a/src/socketengine_select.cpp +++ b/src/socketengine_select.cpp @@ -93,7 +93,7 @@ int SelectEngine::DispatchEvents() int result = 0; timeval tval; int sresult = 0; - EventHandler* ev[MAX_DESCRIPTOR]; + EventHandler* ev[MAX_DESCRIPTORS]; FD_ZERO(&wfdset); FD_ZERO(&rfdset); -- cgit v1.2.3