mirror of
https://github.com/nostar/urfd.git
synced 2026-11-08 12:26:46 +00:00
server open bug
This commit is contained in:
1 parent
bcd9f5cdae
commit
4d8582c5c2
1 file changed
+1
-1
@@ -222,6 +222,7 @@ bool CTCServer::Open(const std::string &address, const std::string &modules, uin
|
||||
|
||||
auto n = m_Modules.size();
|
||||
std::cout << "Waiting for " << n << " transcoder connection(s)..." << std::endl;
|
||||
m_Pfd.back().fd = fd;
|
||||
|
||||
while (any_are_closed())
|
||||
{
|
||||
@@ -229,7 +230,6 @@ bool CTCServer::Open(const std::string &address, const std::string &modules, uin
|
||||
return true;
|
||||
}
|
||||
|
||||
m_Pfd.back().fd = fd;
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user