diff options
author | Marc Laukien <marc@zeroc.com> | 2002-06-23 21:17:04 +0000 |
---|---|---|
committer | Marc Laukien <marc@zeroc.com> | 2002-06-23 21:17:04 +0000 |
commit | 59788b8663f1f05a95b7afbbc6d2846dae11c96a (patch) | |
tree | c3ed292df270f11157decb83827d9af4144db52d /cpp/demo/Ice/latency/Client.cpp | |
parent | file run.py was initially added on branch location. (diff) | |
download | ice-59788b8663f1f05a95b7afbbc6d2846dae11c96a.tar.bz2 ice-59788b8663f1f05a95b7afbbc6d2846dae11c96a.tar.xz ice-59788b8663f1f05a95b7afbbc6d2846dae11c96a.zip |
removed spaces after keywords
Diffstat (limited to 'cpp/demo/Ice/latency/Client.cpp')
-rw-r--r-- | cpp/demo/Ice/latency/Client.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/cpp/demo/Ice/latency/Client.cpp b/cpp/demo/Ice/latency/Client.cpp index df89dc79758..3daea88fdfe 100644 --- a/cpp/demo/Ice/latency/Client.cpp +++ b/cpp/demo/Ice/latency/Client.cpp @@ -19,7 +19,7 @@ run(int argc, char* argv[], const Ice::CommunicatorPtr& communicator) Ice::PropertiesPtr properties = communicator->getProperties(); const char* refProperty = "Latency.Ping"; std::string ref = properties->getProperty(refProperty); - if (ref.empty()) + if(ref.empty()) { cerr << argv[0] << ": property `" << refProperty << "' not set" << endl; return EXIT_FAILURE; @@ -27,7 +27,7 @@ run(int argc, char* argv[], const Ice::CommunicatorPtr& communicator) Ice::ObjectPrx base = communicator->stringToProxy(ref); PingPrx ping = PingPrx::checkedCast(base); - if (!ping) + if(!ping) { cerr << argv[0] << ": invalid object reference" << endl; return EXIT_FAILURE; @@ -40,7 +40,7 @@ run(int argc, char* argv[], const Ice::CommunicatorPtr& communicator) const int repetitions = 100000; cout << "pinging server " << repetitions << " times (this may take a while)" << endl; - for (int i = 0; i < repetitions; ++i) + for(int i = 0; i < repetitions; ++i) { ping->ice_ping(); } @@ -74,7 +74,7 @@ main(int argc, char* argv[]) status = EXIT_FAILURE; } - if (communicator) + if(communicator) { try { |