diff options
Diffstat (limited to 'src/connectionhandler.cpp')
-rw-r--r-- | src/connectionhandler.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/connectionhandler.cpp b/src/connectionhandler.cpp index 6a46b94e..2583e3fc 100644 --- a/src/connectionhandler.cpp +++ b/src/connectionhandler.cpp @@ -144,8 +144,10 @@ ConnectionHandler::startListen(ListenThreadData *ltd) } // Check client sockets - std::list<NetComputer*>::iterator i; - for (i = clients.begin(); i != clients.end(); ) { + NetComputers::iterator i; + + for (i = clients.begin(); i != clients.end(); ) + { NetComputer *comp = *i; TCPsocket s = (*i)->getSocket(); |