aboutsummaryrefslogtreecommitdiffstats
path: root/src/inspircd.cpp
diff options
context:
space:
mode:
authorGravatar brain2006-03-13 13:51:44 +0000
committerGravatar brain2006-03-13 13:51:44 +0000
commit60079fde5b9551c05de9447e4c62de2d20fe6599 (patch)
tree56ea88ae70f4ae8199891223b2303e4c90f624d8 /src/inspircd.cpp
parentRemoval of ancient TRUE/FALSE #defines (C-ish stuff) (diff)
downloadinspircd++-60079fde5b9551c05de9447e4c62de2d20fe6599.tar.gz
inspircd++-60079fde5b9551c05de9447e4c62de2d20fe6599.tar.bz2
inspircd++-60079fde5b9551c05de9447e4c62de2d20fe6599.zip
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.cpp')
-rw-r--r--src/inspircd.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/inspircd.cpp b/src/inspircd.cpp
index 06a52ed08..1df6ee293 100644
--- a/src/inspircd.cpp
+++ b/src/inspircd.cpp
@@ -71,7 +71,7 @@ std::vector<userrec*> local_users;
extern int MODCOUNT;
extern char LOG_FILE[MAXBUF];
-int openSockfd[MAXSOCKS];
+int openSockfd[MAX_DESCRIPTORS];
int yield_depth;
int iterations = 0;
sockaddr_in client,server;