diff options
Diffstat (limited to 'src/itoserver.cpp')
| -rw-r--r-- | src/itoserver.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/itoserver.cpp b/src/itoserver.cpp index 8bdd894..7426e8a 100644 --- a/src/itoserver.cpp +++ b/src/itoserver.cpp | |||
| @@ -64,11 +64,12 @@ void Bu::ItoServer::addClient( int nSocket, int nPort ) | |||
| 64 | { | 64 | { |
| 65 | ItoClient *pC = new ItoClient( *this, nSocket, nPort, nTimeoutSec, | 65 | ItoClient *pC = new ItoClient( *this, nSocket, nPort, nTimeoutSec, |
| 66 | nTimeoutUSec ); | 66 | nTimeoutUSec ); |
| 67 | pC->start(); | ||
| 68 | 67 | ||
| 69 | imClients.lock(); | 68 | imClients.lock(); |
| 70 | hClients.insert( nSocket, pC ); | 69 | hClients.insert( nSocket, pC ); |
| 71 | imClients.unlock(); | 70 | imClients.unlock(); |
| 71 | |||
| 72 | pC->start(); | ||
| 72 | } | 73 | } |
| 73 | 74 | ||
| 74 | void *Bu::ItoServer::run() | 75 | void *Bu::ItoServer::run() |
