diff options
| author | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2022-05-24 19:47:13 +0200 |
|---|---|---|
| committer | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2022-05-24 19:47:13 +0200 |
| commit | ad7e66adaabb14b3c9e5287c95bcff6cbc1472a1 (patch) | |
| tree | ede13f2635b5e87d5ef08a908b77e731eff06cf7 /src/managers/EventManager.cpp | |
| parent | ba7e3cd9a18d6c74bc1f3819ec7485e25daf3472 (diff) | |
stick a newline at the end of socket2 events
Diffstat (limited to 'src/managers/EventManager.cpp')
| -rw-r--r-- | src/managers/EventManager.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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()); } |
