diff options
author | Johnny Willemsen <jwillemsen@remedy.nl> | 2007-01-30 11:16:45 +0000 |
---|---|---|
committer | Johnny Willemsen <jwillemsen@remedy.nl> | 2007-01-30 11:16:45 +0000 |
commit | c9671e46fb45e9e9454d42410e91c99832843313 (patch) | |
tree | 6433dec980dc75d29f0bcb370adf0aa8f0a23c08 /TAO/tao/ORB.cpp | |
parent | 71881a34e0cc604dc84c116850757b0df981843d (diff) | |
download | ATCD-c9671e46fb45e9e9454d42410e91c99832843313.tar.gz |
Tue Jan 30 11:14:14 2007 Johnny Willemsen <jwillemsen@remedy.nl>
Diffstat (limited to 'TAO/tao/ORB.cpp')
-rw-r--r-- | TAO/tao/ORB.cpp | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/TAO/tao/ORB.cpp b/TAO/tao/ORB.cpp index 6eb1c95b298..b11125fb98f 100644 --- a/TAO/tao/ORB.cpp +++ b/TAO/tao/ORB.cpp @@ -1491,9 +1491,7 @@ CORBA::ORB::object_to_string (CORBA::Object_ptr obj) ACE_OS::strcpy (cp, ior_prefix); cp += sizeof (ior_prefix) - 1; - for (const ACE_Message_Block *i = cdr.begin (); - i != 0; - i = i->cont ()) + for (const ACE_Message_Block *i = cdr.begin (); i != 0; i = i->cont ()) { const char *bytes = i->rd_ptr (); size_t len = i->length (); @@ -1582,9 +1580,7 @@ CORBA::ORB::string_to_object (const char *str) return ior_parser->parse_string (str, this); } - if (ACE_OS::strncmp (str, - ior_prefix, - sizeof ior_prefix - 1) == 0) + if (ACE_OS::strncmp (str, ior_prefix, sizeof ior_prefix - 1) == 0) return this->ior_string_to_object (str + sizeof ior_prefix - 1); else return this->url_ior_string_to_object (str); @@ -1775,7 +1771,7 @@ CORBA::ORB::register_value_factory (const char *repository_id, { int const result = vta->vf_map_rebind (repository_id, factory); - if (result == 0) // No previous factory found + if (result == 0) // No previous factory found { return 0; } |