diff options
author | Ossama Othman <ossama-othman@users.noreply.github.com> | 2002-08-23 17:35:50 +0000 |
---|---|---|
committer | Ossama Othman <ossama-othman@users.noreply.github.com> | 2002-08-23 17:35:50 +0000 |
commit | d2e2a6af58076c65672b7e4c89e92057ed578b38 (patch) | |
tree | 3d8ee83dcd76ea55649a754a056cedd900348848 /TAO/examples | |
parent | e31b4fe42a9b822197b9b4c6c897c50eca1a05d4 (diff) | |
download | ATCD-d2e2a6af58076c65672b7e4c89e92057ed578b38.tar.gz |
ChangeLogTag:Fri Aug 23 10:34:36 2002 Ossama Othman <ossama@uci.edu>
Diffstat (limited to 'TAO/examples')
-rw-r--r-- | TAO/examples/POA/Generic_Servant/client.cpp | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/TAO/examples/POA/Generic_Servant/client.cpp b/TAO/examples/POA/Generic_Servant/client.cpp index 3aa5a7c35d2..1959aaac34e 100644 --- a/TAO/examples/POA/Generic_Servant/client.cpp +++ b/TAO/examples/POA/Generic_Servant/client.cpp @@ -150,7 +150,6 @@ main (int argc, char **argv) // We start an ACE_Profile_Timer here... timer.start (); - CORBA::Long result = 0; int i = 0; for (i = 0; i < iterations; i++) @@ -158,18 +157,18 @@ main (int argc, char **argv) if (oneway && timed_method) { test->timed_oneway_method (timeout - ACE_ENV_SINGLE_ARG_PARAMETER); + ACE_ENV_ARG_PARAMETER); ACE_TRY_CHECK; } else if (oneway) { - test->oneway_method (ACE_ENV_ARG_PARAMETER); + test->oneway_method (ACE_ENV_SINGLE_ARG_PARAMETER); ACE_TRY_CHECK; } else if (!oneway && timed_method) { test->timed_method (timeout - ACE_ENV_SINGLE_ARG_PARAMETER); + ACE_ENV_ARG_PARAMETER); ACE_TRY_CHECK; } else @@ -194,7 +193,7 @@ main (int argc, char **argv) } ACE_CATCHANY { - ACE_PRINT_EXCEPTION (ACE_ANY_EXCEPTION,"Error!"); + ACE_PRINT_EXCEPTION (ACE_ANY_EXCEPTION, "Error!"); return -1; } ACE_ENDTRY; |