diff options
author | Marc Laukien <marc@zeroc.com> | 2001-11-13 20:28:08 +0000 |
---|---|---|
committer | Marc Laukien <marc@zeroc.com> | 2001-11-13 20:28:08 +0000 |
commit | 7d200cf8404655ce2e0ba62360d7030b67eb8514 (patch) | |
tree | 9de4d4a471480bb30a4bad05fcb3859a47a1b09e /cpp/src/IcePack/Client.cpp | |
parent | Added for testing purposes. "cacert.pem" is a self-signed Mutable Realms CA (diff) | |
download | ice-7d200cf8404655ce2e0ba62360d7030b67eb8514.tar.bz2 ice-7d200cf8404655ce2e0ba62360d7030b67eb8514.tar.xz ice-7d200cf8404655ce2e0ba62360d7030b67eb8514.zip |
fixes
Diffstat (limited to 'cpp/src/IcePack/Client.cpp')
-rw-r--r-- | cpp/src/IcePack/Client.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/cpp/src/IcePack/Client.cpp b/cpp/src/IcePack/Client.cpp index 797316f0ada..f084c800e57 100644 --- a/cpp/src/IcePack/Client.cpp +++ b/cpp/src/IcePack/Client.cpp @@ -129,13 +129,13 @@ run(int argc, char* argv[], const CommunicatorPtr& communicator) cerr << argv[0] << ": property `" << adminEndpointsProperty << "' is not set" << endl; return EXIT_FAILURE; } -
- string protocol = properties->getProperty("Ice.Protocol");
- string secureFlag;
- if (!protocol.compare("ssl"))
- {
- secureFlag = " -s ";
- }
+ + string protocol = properties->getProperty("Ice.Protocol"); + string secureFlag; + if (!protocol.compare("ssl")) + { + secureFlag = " -s "; + } Ice::ObjectPrx base = communicator->stringToProxy("admin" + secureFlag + ":" + adminEndpoints); AdminPrx admin = AdminPrx::checkedCast(base); |