summaryrefslogtreecommitdiff
path: root/src/itoserver.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/itoserver.cpp')
-rw-r--r--src/itoserver.cpp10
1 files changed, 3 insertions, 7 deletions
diff --git a/src/itoserver.cpp b/src/itoserver.cpp
index 0640aad..279310d 100644
--- a/src/itoserver.cpp
+++ b/src/itoserver.cpp
@@ -74,7 +74,7 @@ void Bu::ItoServer::addClient( int nSocket, int nPort )
74 pC->start(); 74 pC->start();
75} 75}
76 76
77void *Bu::ItoServer::run() 77void Bu::ItoServer::run()
78{ 78{
79 for(;;) 79 for(;;)
80 { 80 {
@@ -105,8 +105,6 @@ void *Bu::ItoServer::run()
105 delete pCli; 105 delete pCli;
106 } 106 }
107 } 107 }
108
109 return NULL;
110} 108}
111 109
112void Bu::ItoServer::clientCleanup( int iSocket ) 110void Bu::ItoServer::clientCleanup( int iSocket )
@@ -138,7 +136,7 @@ Bu::ItoServer::ItoClient::~ItoClient()
138{ 136{
139} 137}
140 138
141void *Bu::ItoServer::ItoClient::run() 139void Bu::ItoServer::ItoClient::run()
142{ 140{
143 imProto.lock(); 141 imProto.lock();
144 rSrv.onNewConnection( pClient, iPort ); 142 rSrv.onNewConnection( pClient, iPort );
@@ -186,7 +184,7 @@ void *Bu::ItoServer::ItoClient::run()
186 184
187 rSrv.clientCleanup( iSocket ); 185 rSrv.clientCleanup( iSocket );
188 186
189 return NULL; 187 return;
190 } 188 }
191 } 189 }
192 190
@@ -197,8 +195,6 @@ void *Bu::ItoServer::ItoClient::run()
197 imProto.unlock(); 195 imProto.unlock();
198 } 196 }
199 } 197 }
200
201 return NULL;
202} 198}
203 199
204Bu::ItoServer::SrvClientLink::SrvClientLink( ItoClient *pClient ) : 200Bu::ItoServer::SrvClientLink::SrvClientLink( ItoClient *pClient ) :