diff --git a/libnymea-core/servermanager.cpp b/libnymea-core/servermanager.cpp index 10ccaa9d..f324f20d 100644 --- a/libnymea-core/servermanager.cpp +++ b/libnymea-core/servermanager.cpp @@ -330,7 +330,7 @@ bool ServerManager::registerZeroConfService(const ServerConfiguration &configura txt.insert("sslEnabled", configuration.sslEnabled ? "true" : "false"); QString name = namePrefix + "-" + configuration.id; if (!m_platform->zeroConfController()->zeroConfServicePublisher()->registerService(configuration.id, name, configuration.address, static_cast(configuration.port), serviceType, txt)) { - qCWarning(dcTcpServer()) << "Could not register ZeroConf service for" << configuration; + qCWarning(dcServerManager()) << "Could not register ZeroConf service for" << configuration; return false; } return true;