Fixed issues hopefully

This commit is contained in:
AlexandreRouma
2022-02-24 21:01:51 +01:00
parent 2779516378
commit 9bbc50ff3c
8 changed files with 11 additions and 11 deletions

View File

@ -148,8 +148,8 @@ namespace server {
sigpath::sourceManager.selectSource(sourceList[sourceId]);
// TODO: Use command line option
std::string host = core::args["addr"];
int port = core::args["port"];
std::string host = (std::string)core::args["addr"];
int port = (int)core::args["port"];
listener = net::listen(host, port);
listener->acceptAsync(_clientHandler, NULL);