diff options
author | Dwayne Boone <dwayne@zeroc.com> | 2007-05-17 13:01:31 +0000 |
---|---|---|
committer | Dwayne Boone <dwayne@zeroc.com> | 2007-05-17 13:01:31 +0000 |
commit | 102dad145660074d0d990137a94811f31d3e0518 (patch) | |
tree | 941a598903b5442a415c4e2459b56ed678f08b63 /cpp/src/IceSSL/EndpointI.cpp | |
parent | Fixed to woirk with multihome expansion (diff) | |
download | ice-102dad145660074d0d990137a94811f31d3e0518.tar.bz2 ice-102dad145660074d0d990137a94811f31d3e0518.tar.xz ice-102dad145660074d0d990137a94811f31d3e0518.zip |
iBacked out multihome change
Diffstat (limited to 'cpp/src/IceSSL/EndpointI.cpp')
-rw-r--r-- | cpp/src/IceSSL/EndpointI.cpp | 22 |
1 files changed, 1 insertions, 21 deletions
diff --git a/cpp/src/IceSSL/EndpointI.cpp b/cpp/src/IceSSL/EndpointI.cpp index a14f152f3e1..69866544132 100644 --- a/cpp/src/IceSSL/EndpointI.cpp +++ b/cpp/src/IceSSL/EndpointI.cpp @@ -327,27 +327,7 @@ IceSSL::EndpointI::expand(bool server) const } else { - if(!server) - { - - vector<string> hosts = IceInternal::getHosts(_host); - if(hosts.size() > 1) - { - for(unsigned int i = 0; i < hosts.size(); ++i) - { - endps.push_back( - new EndpointI(_instance, hosts[i], _port, _timeout, _connectionId, _compress, true)); - } - } - else - { - endps.push_back(const_cast<EndpointI*>(this)); - } - } - else - { - endps.push_back(const_cast<EndpointI*>(this)); - } + endps.push_back(const_cast<EndpointI*>(this)); } return endps; } |