diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-04-03 18:39:10 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-04-03 18:39:10 +0000 |
commit | adac447f46b50e2d5d4a43f2f1697ad2ccda788d (patch) | |
tree | b2cc27a092c6c9c5243d715cbfa63562e5b221cd /src/inspircd.cpp | |
parent | e408a82d5b8a0067e45397b563289717b94a9afb (diff) |
Added code to shutdown listening sockets on exit
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@964 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 74682edb1..60fcbe378 100644 --- a/src/inspircd.cpp +++ b/src/inspircd.cpp @@ -99,7 +99,7 @@ extern std::vector<ircd_module*> factory; std::vector<int> fd_reap; extern int MODCOUNT; - +int openSockfd[MAXSOCKS]; bool nofork = false; namespace nspace @@ -3202,7 +3202,7 @@ int InspIRCd(void) { struct sockaddr_in client,server; char addrs[MAXBUF][255]; - int openSockfd[MAXSOCKS], incomingSockfd, result = TRUE; + int incomingSockfd, result = TRUE; socklen_t length; int count = 0; int selectResult = 0, selectResult2 = 0; |