mirror of https://github.com/nymea/nymea.git
Fix warning and pointer initialization
parent
eaaf2e0188
commit
64a5ffbd37
|
|
@ -129,7 +129,7 @@ void TcpServer::sendData(const QUuid &clientId, const QByteArray &data)
|
|||
qCDebug(dcTcpServerTraffic()) << "Sending to client" << clientId.toString() << data;
|
||||
client->write(data + '\n');
|
||||
} else {
|
||||
qCWarning(dcTcpServer()) << "Client" << clientId << "unknown to this transport";
|
||||
qCWarning(dcTcpServer()) << "Client" << clientId.toString() << "unknown to this transport";
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -90,9 +90,9 @@ public:
|
|||
void terminateClientConnection(const QUuid &clientId) override;
|
||||
|
||||
private:
|
||||
QTimer *m_timer;
|
||||
QTimer *m_timer = nullptr;
|
||||
|
||||
SslServer * m_server;
|
||||
SslServer *m_server = nullptr;
|
||||
QHash<QUuid, QTcpSocket *> m_clientList;
|
||||
|
||||
QSslConfiguration m_sslConfig;
|
||||
|
|
|
|||
Loading…
Reference in New Issue