diff options
Diffstat (limited to 'cpp/test/Ice/faultTolerance/Client.cpp')
-rw-r--r-- | cpp/test/Ice/faultTolerance/Client.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/cpp/test/Ice/faultTolerance/Client.cpp b/cpp/test/Ice/faultTolerance/Client.cpp index 054fa0b9c46..96a11f9d0c8 100644 --- a/cpp/test/Ice/faultTolerance/Client.cpp +++ b/cpp/test/Ice/faultTolerance/Client.cpp @@ -22,6 +22,12 @@ usage(const char* n) int run(int argc, char* argv[], const Ice::CommunicatorPtr& communicator) { + if(argc < 3) + { + usage(argv[0]); + return 1; + } + vector<int> ports; for(int i = 1; i < argc; ++i) { |