aboutsummaryrefslogtreecommitdiff
path: root/nxcomp/src
diff options
context:
space:
mode:
Diffstat (limited to 'nxcomp/src')
-rw-r--r--nxcomp/src/Loop.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/nxcomp/src/Loop.cpp b/nxcomp/src/Loop.cpp
index 59dd43a10..7fecb9123 100644
--- a/nxcomp/src/Loop.cpp
+++ b/nxcomp/src/Loop.cpp
@@ -11123,11 +11123,12 @@ int SetPorts()
if (control -> ProxyMode == proxy_client) {
slavePort.setDefaultTCPPort(DEFAULT_NX_SLAVE_PORT_CLIENT_OFFSET + proxyPort);
- useSlaveSocket = slavePort.enabled();
} else {
slavePort.setDefaultTCPPort(DEFAULT_NX_SLAVE_PORT_SERVER_OFFSET + proxyPort);
}
+ useSlaveSocket = slavePort.enabled();
+
nxinfo << "Loop: Using slave port '" << slavePort
<< "'.\n" << std::flush;