i added one line
This commit is contained in:
parent
74bc6f1720
commit
8e56fec1a9
1 changed files with 3 additions and 2 deletions
|
@ -52,7 +52,7 @@ int main(int argc, char **argv) {
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool master_intra(uint16_t port, sosc::poolinfo_t info) {
|
bool master_intra(uint16_t port, const sosc::poolinfo_t& info) {
|
||||||
using namespace sosc;
|
using namespace sosc;
|
||||||
|
|
||||||
IntraServer server;
|
IntraServer server;
|
||||||
|
@ -66,7 +66,8 @@ bool master_intra(uint16_t port, sosc::poolinfo_t info) {
|
||||||
|
|
||||||
while(server.Accept(&client))
|
while(server.Accept(&client))
|
||||||
pool.AddClient(MasterIntra(client));
|
pool.AddClient(MasterIntra(client));
|
||||||
|
|
||||||
|
pool.Stop();
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue