diff options
Diffstat (limited to 'cpp/test/IceGrid/simple/Client.cpp')
-rw-r--r-- | cpp/test/IceGrid/simple/Client.cpp | 44 |
1 files changed, 22 insertions, 22 deletions
diff --git a/cpp/test/IceGrid/simple/Client.cpp b/cpp/test/IceGrid/simple/Client.cpp index 57499a1d856..57c7ae95e38 100644 --- a/cpp/test/IceGrid/simple/Client.cpp +++ b/cpp/test/IceGrid/simple/Client.cpp @@ -22,22 +22,22 @@ run(int argc, char* argv[], const Ice::CommunicatorPtr& communicator) for(int i = 1; i < argc; ++i) { - if(strcmp(argv[i], "--with-deploy") == 0) - { - withDeploy = true; - break; - } + if(strcmp(argv[i], "--with-deploy") == 0) + { + withDeploy = true; + break; + } } if(!withDeploy) { - void allTests(const Ice::CommunicatorPtr&); - allTests(communicator); + void allTests(const Ice::CommunicatorPtr&); + allTests(communicator); } else { - void allTestsWithDeploy(const Ice::CommunicatorPtr&); - allTestsWithDeploy(communicator); + void allTestsWithDeploy(const Ice::CommunicatorPtr&); + allTestsWithDeploy(communicator); } return EXIT_SUCCESS; @@ -52,26 +52,26 @@ main(int argc, char* argv[]) try { - communicator = Ice::initialize(argc, argv); - status = run(argc, argv, communicator); + communicator = Ice::initialize(argc, argv); + status = run(argc, argv, communicator); } catch(const Ice::Exception& ex) { - cerr << ex << endl; - status = EXIT_FAILURE; + cerr << ex << endl; + status = EXIT_FAILURE; } if(communicator) { - try - { - communicator->destroy(); - } - catch(const Ice::Exception& ex) - { - cerr << ex << endl; - status = EXIT_FAILURE; - } + try + { + communicator->destroy(); + } + catch(const Ice::Exception& ex) + { + cerr << ex << endl; + status = EXIT_FAILURE; + } } return status; |