summaryrefslogtreecommitdiff
path: root/cpp/test/Ice/facets/Server.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/test/Ice/facets/Server.cpp')
-rw-r--r--cpp/test/Ice/facets/Server.cpp11
1 files changed, 1 insertions, 10 deletions
diff --git a/cpp/test/Ice/facets/Server.cpp b/cpp/test/Ice/facets/Server.cpp
index 6ff733cc2b0..d0901d14894 100644
--- a/cpp/test/Ice/facets/Server.cpp
+++ b/cpp/test/Ice/facets/Server.cpp
@@ -16,16 +16,7 @@ using namespace std;
int
run(int argc, char* argv[], const Ice::CommunicatorPtr& communicator)
{
- Ice::PropertiesPtr properties = communicator->getProperties();
-
- string protocol = properties->getProperty("Ice.Protocol");
-
- if (protocol.empty())
- {
- protocol = "tcp";
- }
-
- string endpts = protocol + " -p 12345 -t 2000";
+ string endpts = "default -p 12345 -t 2000";
Ice::ObjectAdapterPtr adapter = communicator->createObjectAdapterWithEndpoints("TestAdapter", endpts);
Ice::ObjectPtr d = new DI;
adapter->add(d, Ice::stringToIdentity("d"));