From ad7e66adaabb14b3c9e5287c95bcff6cbc1472a1 Mon Sep 17 00:00:00 2001 From: vaxerski <43317083+vaxerski@users.noreply.github.com> Date: Tue, 24 May 2022 19:47:13 +0200 Subject: [PATCH] stick a newline at the end of socket2 events --- src/managers/EventManager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/managers/EventManager.cpp b/src/managers/EventManager.cpp index b4a697ed..cd6cabba 100644 --- a/src/managers/EventManager.cpp +++ b/src/managers/EventManager.cpp @@ -92,7 +92,7 @@ void CEventManager::startThread() { // write all queued events for (auto& ev : m_dQueuedEvents) { - std::string eventString = ev.event + ">>" + ev.data; + std::string eventString = ev.event + ">>" + ev.data + "\n"; for (auto& fd : m_dAcceptedSocketFDs) { write(fd, eventString.c_str(), eventString.length()); }