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;
}
bool master_intra(uint16_t port, sosc::poolinfo_t info) {
bool master_intra(uint16_t port, const sosc::poolinfo_t& info) {
using namespace sosc;
IntraServer server;
@ -67,6 +67,7 @@ bool master_intra(uint16_t port, sosc::poolinfo_t info) {
while(server.Accept(&client))
pool.AddClient(MasterIntra(client));
pool.Stop();
return true;
}