diff options
author | pgontla <pgontla@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2002-07-26 16:24:54 +0000 |
---|---|---|
committer | pgontla <pgontla@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2002-07-26 16:24:54 +0000 |
commit | 65d11a23c12a2313f3af993c07a810c97470a463 (patch) | |
tree | d06b037a4edd5358a743322c0dd57d79562b9f32 /TAO/orbsvcs/examples | |
parent | 50be6b476da911565bb809d6197fca6944b97697 (diff) | |
download | ATCD-65d11a23c12a2313f3af993c07a810c97470a463.tar.gz |
ChangeLogTag: Fri Jul 26 09:23:53 2002 Priyanka Gontla <pgontla@ece.uci.edu>
Diffstat (limited to 'TAO/orbsvcs/examples')
-rw-r--r-- | TAO/orbsvcs/examples/PSS/Simple_Naming_i.cpp | 2 | ||||
-rw-r--r-- | TAO/orbsvcs/examples/PSS/client.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/TAO/orbsvcs/examples/PSS/Simple_Naming_i.cpp b/TAO/orbsvcs/examples/PSS/Simple_Naming_i.cpp index 1a6f06db1e1..41178b04976 100644 --- a/TAO/orbsvcs/examples/PSS/Simple_Naming_i.cpp +++ b/TAO/orbsvcs/examples/PSS/Simple_Naming_i.cpp @@ -41,7 +41,7 @@ Naming_Context_i::find (const char *n // 'n' CORBA::String_var obj_ref = this->code_gen_->get_obj_ref (n ACE_ENV_ARG_PARAMETER); - ACE_CHECK_RETURN (-1); + ACE_CHECK_RETURN (0); return CORBA::string_dup (obj_ref.in ()); } diff --git a/TAO/orbsvcs/examples/PSS/client.cpp b/TAO/orbsvcs/examples/PSS/client.cpp index c0bd21cc69f..99f92b41882 100644 --- a/TAO/orbsvcs/examples/PSS/client.cpp +++ b/TAO/orbsvcs/examples/PSS/client.cpp @@ -85,7 +85,7 @@ int main (int argc, char *argv []) ACE_TRY_CHECK; CORBA::String_var status = - server->get_status (ACE_ENV_ARG_PARAMETER); + server->get_status (ACE_ENV_SINGLE_ARG_PARAMETER); ACE_TRY_CHECK; if (ACE_OS::strcmp (status.in (), "active") != 0) |