diff options
Diffstat (limited to 'nxcomp/src/Loop.cpp')
-rw-r--r-- | nxcomp/src/Loop.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/nxcomp/src/Loop.cpp b/nxcomp/src/Loop.cpp index 238e503b7..f29fae530 100644 --- a/nxcomp/src/Loop.cpp +++ b/nxcomp/src/Loop.cpp @@ -6687,10 +6687,10 @@ int WaitForRemote(ChannelEndPoint &socketAddress) strcpy(hostLabel, "any host"); } - long bindPort; - if (socketAddress.getTCPHostAndPort(NULL, &bindPort)) + long _bindPort; + if (socketAddress.getTCPHostAndPort(NULL, &_bindPort)) { - socketAddress.setSpec(loopbackBind ? "localhost" : "*", bindPort); + socketAddress.setSpec(loopbackBind ? "localhost" : "*", _bindPort); } else { |