Skip to content

Commit 3e16767

Browse files
committed
fix MQTT after msgformat restructuring
1 parent 3caa3bc commit 3e16767

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

IO/Network.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -838,7 +838,7 @@ namespace IO
838838
void MQTTStreamer::Start()
839839
{
840840
std::stringstream ss;
841-
ss << Util::Convert::toString(Protocol) << " feed: " << session->getHost() << ", port: " << session->getPort() << ", filter: " << Util::Convert::toString(filter.isOn());
841+
ss << Util::Convert::toString(Protocol) << " feed: " << session->getHost() << ", port: " << session->getPort() << ", filter: " << Util::Convert::toString(filter.isOn()) << ", msgformat: " << Util::Convert::toString(fmt);
842842
tcp.setValue("PERSISTENT", "on");
843843

844844
switch (Protocol)

IO/Network.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -220,8 +220,6 @@ namespace IO
220220
Protocol::WebSocket ws;
221221
Protocol::ProtocolBase *session = &tcp;
222222

223-
MessageFormat fmt = MessageFormat::JSON_FULL;
224-
225223
std::string json;
226224
Util::TemplateString topic_template;
227225

0 commit comments

Comments
 (0)