summaryrefslogtreecommitdiff
path: root/src/inspircd_io.cpp
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-03-13 13:51:44 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-03-13 13:51:44 +0000
commit60079fde5b9551c05de9447e4c62de2d20fe6599 (patch)
tree56ea88ae70f4ae8199891223b2303e4c90f624d8 /src/inspircd_io.cpp
parent883c04a08ab3c927219d754de4265c84c20f580d (diff)
Obscure bug of the week: InspIRCd crashes when given more than 64 client ports to bind in the config file (yes, *REALLY*.)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3701 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/inspircd_io.cpp')
-rw-r--r--src/inspircd_io.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/inspircd_io.cpp b/src/inspircd_io.cpp
index 9fc1bd410..47f5b7965 100644
--- a/src/inspircd_io.cpp
+++ b/src/inspircd_io.cpp
@@ -35,7 +35,7 @@ using namespace std;
extern ServerConfig *Config;
extern InspIRCd* ServerInstance;
-extern int openSockfd[MAXSOCKS];
+extern int openSockfd[MAX_DESCRIPTORS];
extern time_t TIME;
extern int MODCOUNT;