removed redundant msg

pull/3/head
Tom Early 2 years ago
parent 7600232502
commit 50fba70548

@ -231,8 +231,6 @@ bool CTCServer::Open(const std::string &address, const std::string &modules, uin
pf.revents = 0; pf.revents = 0;
} }
std::cout << "Waiting for " << m_Modules.size() << " transcoder connection(s) on " << m_Ip << "..." << std::endl;
return Accept(); return Accept();
} }
@ -277,14 +275,17 @@ bool CTCServer::Accept()
if (GetFD(c) < 0) if (GetFD(c) < 0)
wmod.append(1, c); wmod.append(1, c);
} }
std::cout << "Waiting at " << m_Ip << " for transcoder connection";
if (wmod.size() > 1) if (wmod.size() > 1)
{ {
std::cout << "Waiting for transcoder connections for modules " << wmod << "..." << std::endl; std::cout << "s for modules " << wmod << "..." << std::endl;
} }
else else
{ {
std::cout << "Waiting for transcoder connection for module " << wmod << "..." << std::endl; std::cout << " for module " << wmod << "..." << std::endl;
} }
std::cout << wmod << "..." << std::endl;
while (AnyAreClosed()) while (AnyAreClosed())
{ {

Loading…
Cancel
Save

Powered by TurnKey Linux.