mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-07-23 15:34:47 +02:00
Socket type isn't used in all code
This commit is contained in:
parent
b1050dc83a
commit
65dec6dfd8
1 changed files with 3 additions and 1 deletions
|
@ -129,7 +129,9 @@ bool SockAddr::hasPrivateAddress() const {
|
||||||
}
|
}
|
||||||
|
|
||||||
QDebug operator<<(QDebug debug, const SockAddr& sockAddr) {
|
QDebug operator<<(QDebug debug, const SockAddr& sockAddr) {
|
||||||
debug.nospace() << socketTypeToString(sockAddr._socketType).toLocal8Bit().constData() << " "
|
debug.nospace()
|
||||||
|
<< (sockAddr._socketType != SocketType::Unknown
|
||||||
|
? (socketTypeToString(sockAddr._socketType) + " ").toLocal8Bit().constData() : "")
|
||||||
<< sockAddr._address.toString().toLocal8Bit().constData() << ":" << sockAddr._port;
|
<< sockAddr._address.toString().toLocal8Bit().constData() << ":" << sockAddr._port;
|
||||||
return debug.space();
|
return debug.space();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue