summaryrefslogtreecommitdiff
path: root/cpp/src/Ice/TcpAcceptor.cpp
diff options
context:
space:
mode:
authorMatthew Newhook <matthew@zeroc.com>2008-05-22 15:23:27 +0800
committerMatthew Newhook <matthew@zeroc.com>2008-05-22 15:23:27 +0800
commita8ef39d3a0d35aa0391297dc779ede1cf8e9c387 (patch)
treee98b3fe2f25f39b02249958f8465c9a8dc3bc338 /cpp/src/Ice/TcpAcceptor.cpp
parentcleaning up Make.rules for python (diff)
downloadice-a8ef39d3a0d35aa0391297dc779ede1cf8e9c387.tar.bz2
ice-a8ef39d3a0d35aa0391297dc779ede1cf8e9c387.tar.xz
ice-a8ef39d3a0d35aa0391297dc779ede1cf8e9c387.zip
http://bugzilla/bugzilla/show_bug.cgi?id=3222 - import mcast tracing. The effective port may be incorrect under windows.
Diffstat (limited to 'cpp/src/Ice/TcpAcceptor.cpp')
-rw-r--r--cpp/src/Ice/TcpAcceptor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/Ice/TcpAcceptor.cpp b/cpp/src/Ice/TcpAcceptor.cpp
index 18d99100182..362de88b789 100644
--- a/cpp/src/Ice/TcpAcceptor.cpp
+++ b/cpp/src/Ice/TcpAcceptor.cpp
@@ -125,7 +125,7 @@ IceInternal::TcpAcceptor::TcpAcceptor(const InstancePtr& instance, const string&
Trace out(_logger, _traceLevels->networkCat);
out << "attempting to bind to tcp socket " << toString();
}
- doBind(_fd, const_cast<struct sockaddr_storage&>(_addr));
+ const_cast<struct sockaddr_storage&>(_addr) = doBind(_fd, _addr);
}
catch(...)
{