diff options
author | madmaxoft <github@xoft.cz> | 2013-08-20 19:29:29 +0200 |
---|---|---|
committer | madmaxoft <github@xoft.cz> | 2013-08-20 19:29:29 +0200 |
commit | 40cb30b6a576ecdcf446377b755ed70a87b9be28 (patch) | |
tree | 1d4ff05cc3a293ad0091fa45f1359b1a569c5fa1 /source/OSSupport/ListenThread.cpp | |
parent | Started work on the cProjectileEntity class. (diff) | |
download | cuberite-40cb30b6a576ecdcf446377b755ed70a87b9be28.tar cuberite-40cb30b6a576ecdcf446377b755ed70a87b9be28.tar.gz cuberite-40cb30b6a576ecdcf446377b755ed70a87b9be28.tar.bz2 cuberite-40cb30b6a576ecdcf446377b755ed70a87b9be28.tar.lz cuberite-40cb30b6a576ecdcf446377b755ed70a87b9be28.tar.xz cuberite-40cb30b6a576ecdcf446377b755ed70a87b9be28.tar.zst cuberite-40cb30b6a576ecdcf446377b755ed70a87b9be28.zip |
Diffstat (limited to 'source/OSSupport/ListenThread.cpp')
-rw-r--r-- | source/OSSupport/ListenThread.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/OSSupport/ListenThread.cpp b/source/OSSupport/ListenThread.cpp index c586227df..0890aabc8 100644 --- a/source/OSSupport/ListenThread.cpp +++ b/source/OSSupport/ListenThread.cpp @@ -80,7 +80,7 @@ void cListenThread::Stop(void) super::Wait(); // Close all the listening sockets: - for (cSockets::iterator itr = m_Sockets.begin(), end = m_Sockets.end(); itr != end; ++itr) + for (cSockets::iterator itr = m_Sockets.begin() + 1, end = m_Sockets.end(); itr != end; ++itr) { itr->CloseSocket(); } // for itr - m_Sockets[] |