summaryrefslogtreecommitdiff
path: root/cpp/test/Ice/exceptions/Server.cpp
diff options
context:
space:
mode:
authorMarc Laukien <marc@zeroc.com>2001-11-13 20:28:08 +0000
committerMarc Laukien <marc@zeroc.com>2001-11-13 20:28:08 +0000
commit7d200cf8404655ce2e0ba62360d7030b67eb8514 (patch)
tree9de4d4a471480bb30a4bad05fcb3859a47a1b09e /cpp/test/Ice/exceptions/Server.cpp
parentAdded for testing purposes. "cacert.pem" is a self-signed Mutable Realms CA (diff)
downloadice-7d200cf8404655ce2e0ba62360d7030b67eb8514.tar.bz2
ice-7d200cf8404655ce2e0ba62360d7030b67eb8514.tar.xz
ice-7d200cf8404655ce2e0ba62360d7030b67eb8514.zip
fixes
Diffstat (limited to 'cpp/test/Ice/exceptions/Server.cpp')
-rw-r--r--cpp/test/Ice/exceptions/Server.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/cpp/test/Ice/exceptions/Server.cpp b/cpp/test/Ice/exceptions/Server.cpp
index 3f9234a91ee..86c07ae74b5 100644
--- a/cpp/test/Ice/exceptions/Server.cpp
+++ b/cpp/test/Ice/exceptions/Server.cpp
@@ -16,15 +16,15 @@ 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";
- }
-
+ Ice::PropertiesPtr properties = communicator->getProperties();
+
+ string protocol = properties->getProperty("Ice.Protocol");
+
+ if (protocol.empty())
+ {
+ protocol = "tcp";
+ }
+
string endpts = protocol + " -p 12345 -t 2000";
Ice::ObjectAdapterPtr adapter = communicator->createObjectAdapterWithEndpoints("TestAdapter", endpts);
Ice::ObjectPtr object = new ThrowerI(adapter);