diff options
Diffstat (limited to 'win')
-rw-r--r-- | win/rfb_win32/SocketManager.cxx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/win/rfb_win32/SocketManager.cxx b/win/rfb_win32/SocketManager.cxx index b7cc1cce..027536fd 100644 --- a/win/rfb_win32/SocketManager.cxx +++ b/win/rfb_win32/SocketManager.cxx @@ -165,9 +165,7 @@ void SocketManager::setDisable(network::SocketServer* srvr, bool disable) int SocketManager::checkTimeouts() { int timeout = EventManager::checkTimeouts(); - std::map<HANDLE,ListenInfo>::iterator i; - for (i=listeners.begin(); i!=listeners.end(); i++) - soonestTimeout(&timeout, Timer::checkTimeouts()); + soonestTimeout(&timeout, Timer::checkTimeouts()); std::list<network::Socket*> shutdownSocks; std::map<HANDLE,ConnInfo>::iterator j, j_next; |