diff options
author | Johnny Willemsen <jwillemsen@remedy.nl> | 2008-10-09 18:13:09 +0000 |
---|---|---|
committer | Johnny Willemsen <jwillemsen@remedy.nl> | 2008-10-09 18:13:09 +0000 |
commit | 2133eb0ce24fc87743d2328aa3d45eaae172f729 (patch) | |
tree | da8b238f0ee098df80ebaed72e605a3e2ce27c1c /TAO/examples/OBV | |
parent | 9b096ae052b5dd7daf484fcf87660e26d7471e17 (diff) | |
download | ATCD-2133eb0ce24fc87743d2328aa3d45eaae172f729.tar.gz |
Diffstat (limited to 'TAO/examples/OBV')
-rw-r--r-- | TAO/examples/OBV/Simple_util.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/TAO/examples/OBV/Simple_util.cpp b/TAO/examples/OBV/Simple_util.cpp index f9d8dc32c05..4955e621d89 100644 --- a/TAO/examples/OBV/Simple_util.cpp +++ b/TAO/examples/OBV/Simple_util.cpp @@ -200,7 +200,7 @@ Client<InterfaceObj, Var>::parse_args (void) TAO_debug_level++; break; case 'k': // ior provide on command line - this->ior_ = ACE_OS::strdup (get_opts.opt_arg ()); + this->ior_ = ACE_OS::strdup (ACE_TEXT_ALWAYS_CHAR(get_opts.opt_arg ())); break; case 'f': // read the IOR from the file. result = this->read_ior (get_opts.opt_arg ()); @@ -246,8 +246,6 @@ Client<InterfaceObj, Var>::init (const char *name, if (this->parse_args () == -1) return -1; - - if(this->ior_ != 0) { CORBA::Object_var server_object = |