From dc0548bc7b9b833e1c64440d943dc235882f62cf Mon Sep 17 00:00:00 2001 From: David Robillard Date: Wed, 9 Jan 2019 19:43:44 +0100 Subject: Fix SocketWriter bundle delimiters In particular, this fixes ingenish. The old solution here was broken by changing to a single message() function since bundle_end() was no longer virtual. --- ingen/SocketWriter.hpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'ingen') diff --git a/ingen/SocketWriter.hpp b/ingen/SocketWriter.hpp index 4d7247da..c4ed7b51 100644 --- a/ingen/SocketWriter.hpp +++ b/ingen/SocketWriter.hpp @@ -43,10 +43,9 @@ public: const URI& uri, SPtr sock); - size_t text_sink(const void* buf, size_t len) override; + void message(const Message& message) override; - /** Override of bundle_end to terminate bundles in the stream. */ - void bundle_end(); + size_t text_sink(const void* buf, size_t len) override; protected: SPtr _socket; -- cgit v1.2.1