From 4d8582c5c2bea2af931c18b88cdfd2a72b4ba3d3 Mon Sep 17 00:00:00 2001 From: Tom Early Date: Mon, 13 May 2024 18:05:33 -0700 Subject: [PATCH] server open bug --- reflector/TCSocket.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reflector/TCSocket.cpp b/reflector/TCSocket.cpp index b29e02c..d968a90 100644 --- a/reflector/TCSocket.cpp +++ b/reflector/TCSocket.cpp @@ -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; }