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/nested/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/nested/Client.cpp')
-rw-r--r-- | cpp/demo/Ice/nested/Client.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/cpp/demo/Ice/nested/Client.cpp b/cpp/demo/Ice/nested/Client.cpp index 67be9e8c482..94cfb330077 100644 --- a/cpp/demo/Ice/nested/Client.cpp +++ b/cpp/demo/Ice/nested/Client.cpp @@ -34,7 +34,7 @@ NestedClient::run(int argc, char* argv[]) PropertiesPtr properties = communicator()->getProperties(); const char* refProperty = "Nested.NestedServer"; std::string ref = properties->getProperty(refProperty); - if (ref.empty()) + if(ref.empty()) { cerr << appName() << ": property `" << refProperty << "' not set" << endl; return EXIT_FAILURE; @@ -42,7 +42,7 @@ NestedClient::run(int argc, char* argv[]) ObjectPrx base = communicator()->stringToProxy(ref); NestedPrx nested = NestedPrx::checkedCast(base); - if (!nested) + if(!nested) { cerr << appName() << ": invalid object reference" << endl; return EXIT_FAILURE; @@ -67,7 +67,7 @@ NestedClient::run(int argc, char* argv[]) cout << "enter nesting level or 'x' for exit: "; cin >> s; int level = atoi(s.c_str()); - if (level > 0) + if(level > 0) { nested->nested(level, self); } @@ -77,7 +77,7 @@ NestedClient::run(int argc, char* argv[]) cerr << ex << endl; } } - while (cin.good() && s != "x"); + while(cin.good() && s != "x"); return EXIT_SUCCESS; } |