summaryrefslogtreecommitdiffstats
path: root/src/socket.cpp
diff options
context:
space:
mode:
authorGravatar brain2005-12-29 19:34:18 +0000
committerGravatar brain2005-12-29 19:34:18 +0000
commitf278bdbbad200b5424c5721ac85ee3dd8d982d60 (patch)
tree1f3a83005df38bacee4281ee21706c64a2871082 /src/socket.cpp
parentChanged 65535 to MAX_DESCRIPTORS calculated at configure-time (diff)
downloadinspircd++-f278bdbbad200b5424c5721ac85ee3dd8d982d60.tar.gz
inspircd++-f278bdbbad200b5424c5721ac85ee3dd8d982d60.tar.bz2
inspircd++-f278bdbbad200b5424c5721ac85ee3dd8d982d60.zip
Changed to MAX_DESCRIPTORS
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2700 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/socket.cpp')
-rw-r--r--src/socket.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/socket.cpp b/src/socket.cpp
index 6d065e835..fd6b68006 100644
--- a/src/socket.cpp
+++ b/src/socket.cpp
@@ -40,7 +40,7 @@ using namespace std;
extern InspIRCd* ServerInstance;
extern time_t TIME;
-InspSocket* socket_ref[65535];
+InspSocket* socket_ref[MAX_DESCRIPTORS];
InspSocket::InspSocket()
{