summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-02-14 20:10:10 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-02-14 20:10:10 +0000
commit854effd9c8ade1e58bb0c2c645d8d5c375a60714 (patch)
treeb33ff94fe84a135c44e99535cd05092416394426
parent80c8e91a422250bea57b3edad5f65f4590776d0b (diff)
We're going for that commits per minute record again.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3198 e03df62e-2008-0410-955e-edbf42e46eb7
-rw-r--r--src/socket.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/socket.cpp b/src/socket.cpp
index 03c979725..836a2b5de 100644
--- a/src/socket.cpp
+++ b/src/socket.cpp
@@ -209,7 +209,7 @@ std::string InspSocket::GetIP()
char* InspSocket::Read()
{
- if ((fd < 0) || (fd > MAX_DESCRIPTOR))
+ if ((fd < 0) || (fd > MAX_DESCRIPTORS))
return NULL;
int n = recv(this->fd,this->ibuf,sizeof(this->ibuf),0);
if ((n > 0) && (n <= sizeof(this->ibuf)))