diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-12-29 19:34:18 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-12-29 19:34:18 +0000 |
commit | f278bdbbad200b5424c5721ac85ee3dd8d982d60 (patch) | |
tree | 1f3a83005df38bacee4281ee21706c64a2871082 /src/inspircd.cpp | |
parent | ee9f5d77844c37a98aadfea8677d58e30b6a3dc9 (diff) |
Changed to MAX_DESCRIPTORS
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2700 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/inspircd.cpp')
-rw-r--r-- | src/inspircd.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/inspircd.cpp b/src/inspircd.cpp index fbcfc12d1..dc3c777fe 100644 --- a/src/inspircd.cpp +++ b/src/inspircd.cpp @@ -76,7 +76,7 @@ int openSockfd[MAXSOCKS]; sockaddr_in client,server; socklen_t length; -extern InspSocket* socket_ref[65535]; +extern InspSocket* socket_ref[MAX_DESCRIPTORS]; time_t TIME = time(NULL), OLDTIME = time(NULL); @@ -408,7 +408,7 @@ bool InspIRCd::LoadModule(const char* filename) int InspIRCd::Run() { bool expire_run = false; - int activefds[65535]; + int activefds[MAX_DESCRIPTORS]; int incomingSockfd; int in_port; userrec* cu = NULL; |