diff options
Diffstat (limited to '')
-rw-r--r-- | src/ClientHandle.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ClientHandle.cpp b/src/ClientHandle.cpp index 47bbe691a..9dc112011 100644 --- a/src/ClientHandle.cpp +++ b/src/ClientHandle.cpp @@ -241,7 +241,7 @@ void cClientHandle::ProcessProtocolOut() // to prevent it being reset between the null check and the Send: if (auto Link = m_Link; Link != nullptr) { - m_Protocol->DataPrepared(OutgoingData); + m_Protocol.HandleOutgoingData(OutgoingData); Link->Send(OutgoingData.data(), OutgoingData.size()); } } @@ -3308,7 +3308,7 @@ void cClientHandle::ProcessProtocolIn(void) try { - m_Protocol.HandleIncomingData(*this, std::move(IncomingData)); + m_Protocol.HandleIncomingData(*this, IncomingData); } catch (const std::exception & Oops) { |