mirror of
https://github.com/g4klx/MMDVMHost
synced 2025-12-23 00:35:53 +08:00
Update MQTTConnection.cpp
This commit is contained in:
@@ -53,7 +53,7 @@ CMQTTConnection::~CMQTTConnection()
|
|||||||
bool CMQTTConnection::open()
|
bool CMQTTConnection::open()
|
||||||
{
|
{
|
||||||
char name[50U];
|
char name[50U];
|
||||||
::sprintf(name, "MMDVM.%ld", ::time(nullptr));
|
::sprintf(name, "MMDVMHost.%ld", ::time(nullptr));
|
||||||
|
|
||||||
::fprintf(stdout, "MMDVMHost (%s) connecting to MQTT as %s\n", m_name.c_str(), name);
|
::fprintf(stdout, "MMDVMHost (%s) connecting to MQTT as %s\n", m_name.c_str(), name);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user