summaryrefslogtreecommitdiff
path: root/TAO/tao/Strategies/COIOP_Acceptor.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tao/Strategies/COIOP_Acceptor.cpp')
-rw-r--r--TAO/tao/Strategies/COIOP_Acceptor.cpp12
1 files changed, 3 insertions, 9 deletions
diff --git a/TAO/tao/Strategies/COIOP_Acceptor.cpp b/TAO/tao/Strategies/COIOP_Acceptor.cpp
index 977868b541b..c71ad7761e7 100644
--- a/TAO/tao/Strategies/COIOP_Acceptor.cpp
+++ b/TAO/tao/Strategies/COIOP_Acceptor.cpp
@@ -49,13 +49,9 @@ TAO_COIOP_Acceptor::create_profile (const TAO::ObjectKey & object_key,
// Check if multiple endpoints should be put in one profile or if
// they should be spread across multiple profiles.
if (priority == TAO_INVALID_PRIORITY)
- return this->create_new_profile (object_key,
- mprofile,
- priority);
+ return this->create_new_profile (object_key, mprofile, priority);
else
- return this->create_shared_profile (object_key,
- mprofile,
- priority);
+ return this->create_shared_profile (object_key, mprofile, priority);
}
int
@@ -244,8 +240,7 @@ TAO_COIOP_Acceptor::object_key (IOP::TaggedProfile &profile,
// Read the version. We just read it here. We don't*do any*
// processing.
- if (!(cdr.read_octet (major)
- && cdr.read_octet (minor)))
+ if (!(cdr.read_octet (major) && cdr.read_octet (minor)))
{
if (TAO_debug_level > 0)
{
@@ -280,7 +275,6 @@ TAO_COIOP_Acceptor::object_key (IOP::TaggedProfile &profile,
return 1;
}
-
int
TAO_COIOP_Acceptor::parse_options (const char *str)
{