summaryrefslogtreecommitdiff
path: root/TAO/tao/IIOP_ORB.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tao/IIOP_ORB.cpp')
-rw-r--r--TAO/tao/IIOP_ORB.cpp8
1 files changed, 5 insertions, 3 deletions
diff --git a/TAO/tao/IIOP_ORB.cpp b/TAO/tao/IIOP_ORB.cpp
index 6897f7910d6..af30ef9f553 100644
--- a/TAO/tao/IIOP_ORB.cpp
+++ b/TAO/tao/IIOP_ORB.cpp
@@ -112,12 +112,14 @@ IIOP_ORB::object_to_string (CORBA::Object_ptr obj,
1 /* zero terminator */);
CORBA::String buf = CORBA::string_alloc (buflen);
- ACE_OS::sprintf (buf, "%s%c.%c//%s:%d/%s", iiop_prefix,
+ ACE_OS::sprintf (buf,
+ "%s%c.%c//%s:%d/%s",
+ iiop_prefix,
digits [iiopobj->profile.iiop_version.major],
digits [iiopobj->profile.iiop_version.minor],
- iiopobj->profile.host, iiopobj->profile.port,
+ iiopobj->profile.host,
+ iiopobj->profile.port,
key.in ());
-
return buf;
}
}