i added one line

This commit is contained in:
malloc 2018-07-23 17:00:05 -05:00
parent 74bc6f1720
commit 8e56fec1a9

View file

@ -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;
} }