diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-07-19 15:03:26 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-07-19 15:03:26 +0000 |
commit | 69ae63ecd25c63b4f6d446fae28af9c8d1caac4d (patch) | |
tree | 2d8b56938274a100844948f93abc9527cf2b899f /src/inspircd.cpp | |
parent | 250c92805cb8a25edd15f04fa673fbfa59c469fe (diff) |
Change stats recv/send to double, so they can hold truly massive numbers of transferred bytes (they would overflow after about 6 weeks on a busy net otherwise)
Fix some warnings
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4450 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/inspircd.cpp')
-rw-r--r-- | src/inspircd.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/inspircd.cpp b/src/inspircd.cpp index 2f08750bd..b9cd9f36c 100644 --- a/src/inspircd.cpp +++ b/src/inspircd.cpp @@ -923,7 +923,7 @@ int InspIRCd::Run() /* Add the listening sockets used for client inbound connections * to the socket engine */ - for (int count = 0; count < stats->BoundPortCount; count++) + for (unsigned long count = 0; count < stats->BoundPortCount; count++) SE->AddFd(Config->openSockfd[count],true,X_LISTEN); this->WritePID(Config->PID); |