mirror of
https://github.com/overte-org/overte.git
synced 2025-04-22 04:24:08 +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) {
|
||||
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;
|
||||
return debug.space();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue