summaryrefslogtreecommitdiff
path: root/cpp/src/Ice/EndpointFactoryManager.cpp
diff options
context:
space:
mode:
authorDwayne Boone <dwayne@zeroc.com>2007-06-04 15:53:35 +0000
committerDwayne Boone <dwayne@zeroc.com>2007-06-04 15:53:35 +0000
commit512d5d6ee8737edc9dbc82773532ae9a54a7cfcd (patch)
treeaf479386298a1914edec879859341e507d0e7326 /cpp/src/Ice/EndpointFactoryManager.cpp
parentBug 1597. (diff)
downloadice-512d5d6ee8737edc9dbc82773532ae9a54a7cfcd.tar.bz2
ice-512d5d6ee8737edc9dbc82773532ae9a54a7cfcd.tar.xz
ice-512d5d6ee8737edc9dbc82773532ae9a54a7cfcd.zip
Bug 1658 - listen on 0.0.0.0 rather than expanding endpoints
Diffstat (limited to 'cpp/src/Ice/EndpointFactoryManager.cpp')
-rw-r--r--cpp/src/Ice/EndpointFactoryManager.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/cpp/src/Ice/EndpointFactoryManager.cpp b/cpp/src/Ice/EndpointFactoryManager.cpp
index 9b97258d958..a2a7900c26d 100644
--- a/cpp/src/Ice/EndpointFactoryManager.cpp
+++ b/cpp/src/Ice/EndpointFactoryManager.cpp
@@ -64,7 +64,7 @@ IceInternal::EndpointFactoryManager::get(Short type) const
}
EndpointIPtr
-IceInternal::EndpointFactoryManager::create(const string& str) const
+IceInternal::EndpointFactoryManager::create(const string& str, bool oaEndpoint) const
{
IceUtil::Mutex::Lock sync(*this); // TODO: Necessary?
@@ -99,11 +99,11 @@ IceInternal::EndpointFactoryManager::create(const string& str) const
if(_factories[i]->protocol() == protocol)
{
#if 1
- return _factories[i]->create(str.substr(end));
+ return _factories[i]->create(str.substr(end), oaEndpoint);
#else
// Code below left in place for debugging.
- EndpointIPtr e = _factories[i]->create(str.substr(end));
+ EndpointIPtr e = _factories[i]->create(str.substr(end), oaEndpoint);
BasicStream bs(_instance.get());
e->streamWrite(&bs);
bs.i = bs.b.begin();