diff options
author | Dwayne Boone <dwayne@zeroc.com> | 2006-02-13 17:53:37 +0000 |
---|---|---|
committer | Dwayne Boone <dwayne@zeroc.com> | 2006-02-13 17:53:37 +0000 |
commit | 966060d3a694438bc977ff5be79e33c77ace765a (patch) | |
tree | 78b9e96a2ac9a94e7379f9f4b5ce1c67b6a941d0 /cppe/src/TcpTransport/EndpointFactory.cpp | |
parent | Fix (diff) | |
download | ice-966060d3a694438bc977ff5be79e33c77ace765a.tar.bz2 ice-966060d3a694438bc977ff5be79e33c77ace765a.tar.xz ice-966060d3a694438bc977ff5be79e33c77ace765a.zip |
Bug 804 - no endpoint in reference means try all local interfaces
Diffstat (limited to 'cppe/src/TcpTransport/EndpointFactory.cpp')
-rw-r--r-- | cppe/src/TcpTransport/EndpointFactory.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cppe/src/TcpTransport/EndpointFactory.cpp b/cppe/src/TcpTransport/EndpointFactory.cpp index 9e44b23af9f..11b09c7227e 100644 --- a/cppe/src/TcpTransport/EndpointFactory.cpp +++ b/cppe/src/TcpTransport/EndpointFactory.cpp @@ -30,7 +30,7 @@ IceInternal::EndpointFactory::~EndpointFactory() } EndpointPtr -IceInternal::EndpointFactory::create(const std::string& str, bool adapterEndp) const +IceInternal::EndpointFactory::create(const std::string& str) const { const string delim = " \t\n\r"; @@ -52,7 +52,7 @@ IceInternal::EndpointFactory::create(const std::string& str, bool adapterEndp) c if(protocol == "default" || protocol == "tcp") { - return new TcpEndpoint(_instance, str.substr(end), adapterEndp); + return new TcpEndpoint(_instance, str.substr(end)); } return 0; |