From 59788b8663f1f05a95b7afbbc6d2846dae11c96a Mon Sep 17 00:00:00 2001 From: Marc Laukien Date: Sun, 23 Jun 2002 21:17:04 +0000 Subject: removed spaces after keywords --- cpp/demo/Ice/nested/Client.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'cpp/demo/Ice/nested/Client.cpp') 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; } -- cgit v1.2.3