summaryrefslogtreecommitdiff
path: root/TAO/utils/NamingViewer
diff options
context:
space:
mode:
authormarina <marina@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2000-09-16 05:58:28 +0000
committermarina <marina@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2000-09-16 05:58:28 +0000
commit3ca742cf928d42bd0abad3953567792f2aa8022a (patch)
tree6577786b07a4f3a09f22ff7aeaee04ac23f67f32 /TAO/utils/NamingViewer
parent2cf2a02a238fadd548134eacb4c30d4da98aff7a (diff)
downloadATCD-3ca742cf928d42bd0abad3953567792f2aa8022a.tar.gz
ChangeLogTag:Sat Sep 16 00:58:16 2000 Marina Spivak <marina@cs.wustl.edu>
Diffstat (limited to 'TAO/utils/NamingViewer')
-rw-r--r--TAO/utils/NamingViewer/ViewIORDialog.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/TAO/utils/NamingViewer/ViewIORDialog.cpp b/TAO/utils/NamingViewer/ViewIORDialog.cpp
index 751b1758aac..2d446a3972a 100644
--- a/TAO/utils/NamingViewer/ViewIORDialog.cpp
+++ b/TAO/utils/NamingViewer/ViewIORDialog.cpp
@@ -110,12 +110,14 @@ void ViewIORDialog::DecodeIOR()
case 0://IOP::TAG_INTERNET_IOP:
{
TAO_IIOP_Profile* pIIOPProfile = (TAO_IIOP_Profile*)pProfile;
+ TAO_IIOP_Endpoint* pIIOPEndpoint =
+ (TAO_IIOP_Endpoint*)pProfile->endpoint ();
CString ProfileString;
ProfileString.Format("IOP %d.%d@%s:%d",
pIIOPProfile->version().major,
pIIOPProfile->version().minor,
- pIIOPProfile->host(),
- pIIOPProfile->port());
+ pIIOPEndpoint->host(),
+ pIIOPEndpoint->port());
hProfile = m_Profiles.InsertItem(ProfileString);
}
break;