diff --git a/Source/Processors/NetworkEvents/NetworkEvents.cpp b/Source/Processors/NetworkEvents/NetworkEvents.cpp index b2f978bc8eb7a41052114bb1e1ada50b57ec14f5..0f8b1430fa6fbf1775e5eac3af51026d471f35c0 100644 --- a/Source/Processors/NetworkEvents/NetworkEvents.cpp +++ b/Source/Processors/NetworkEvents/NetworkEvents.cpp @@ -101,7 +101,6 @@ StringTS& StringTS::operator=(const StringTS& rhs) String StringTS::getString() { - return String((const char*)str,len); } @@ -424,7 +423,7 @@ void NetworkEvents::process(AudioSampleBuffer& buffer, { StringTS msg = networkMessagesQueue.front(); postTimestamppedStringToMidiBuffer(msg, events); - CoreServices::sendStatusMessage("Network event received: " + msg.getString()); + CoreServices::sendStatusMessage(("Network event received: " + msg.getString()).toRawUTF8()); // getUIComponent()->getLogWindow()->addLineToLog(msg); networkMessagesQueue.pop(); } @@ -565,4 +564,4 @@ void NetworkEvents::createZmqContext() if (zmqcontext != nullptr) zmqcontext = zmq_ctx_new(); //<-- this is only available in version 3+ #endif -} \ No newline at end of file +}