mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-04-07 06:24:10 +02:00
Update NodeList.cpp
This commit is contained in:
parent
42a4e3b186
commit
a217f80ee3
1 changed files with 2 additions and 2 deletions
|
@ -376,8 +376,8 @@ void NodeList::sendDomainServerCheckIn() {
|
|||
// is this our localhost domain-server?
|
||||
// if so we need to make sure we have an up-to-date local port in case it restarted
|
||||
|
||||
if (domainSockAddr.getAddress() == QHostAddress::LocalHost
|
||||
|| hostname == "localhost" && _domainPortAutoDiscovery == true) {
|
||||
if ((domainSockAddr.getAddress() == QHostAddress::LocalHost || hostname == "localhost")
|
||||
&& _domainPortAutoDiscovery == true) {
|
||||
|
||||
quint16 domainPort = DEFAULT_DOMAIN_SERVER_PORT;
|
||||
getLocalServerPortFromSharedMemory(DOMAIN_SERVER_LOCAL_PORT_SMEM_KEY, domainPort);
|
||||
|
|
Loading…
Reference in a new issue