diff options
author | irfan <irfan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1999-12-16 08:53:33 +0000 |
---|---|---|
committer | irfan <irfan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1999-12-16 08:53:33 +0000 |
commit | 761e64a51fb562d087bca0017401822e92e72386 (patch) | |
tree | 0e5579fc1175d2c72bcf2bbacf4f37dce33060a9 /TAO/performance-tests/RTCorba | |
parent | 8450ffc2bf5d80f7974c095b5ef626cce01f252a (diff) | |
download | ATCD-761e64a51fb562d087bca0017401822e92e72386.tar.gz |
parse_args was happening too late ;-)
Diffstat (limited to 'TAO/performance-tests/RTCorba')
-rw-r--r-- | TAO/performance-tests/RTCorba/Oneways/Reliable/client.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/TAO/performance-tests/RTCorba/Oneways/Reliable/client.cpp b/TAO/performance-tests/RTCorba/Oneways/Reliable/client.cpp index a7876a4e343..484b7e84c9a 100644 --- a/TAO/performance-tests/RTCorba/Oneways/Reliable/client.cpp +++ b/TAO/performance-tests/RTCorba/Oneways/Reliable/client.cpp @@ -317,6 +317,14 @@ main (int argc, char *argv[]) ACE_TRY_ENV); ACE_TRY_CHECK; + // Get the command line options. + if (parse_args (argc, argv) != 0) + { + ACE_ERROR_RETURN ((LM_ERROR, + "parse_args failed\n"), + 1); + } + CORBA::Object_var obj = orb->resolve_initial_references ("RootPOA", ACE_TRY_ENV); @@ -335,14 +343,6 @@ main (int argc, char *argv[]) ACE_TRY_ENV); ACE_TRY_CHECK; - // Get the command line options. - if (parse_args (argc, argv) != 0) - { - ACE_ERROR_RETURN ((LM_ERROR, - "parse_args failed\n"), - 1); - } - // Print testing parameters. print_params (); |