diff options
author | fredk <fredk@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1999-05-21 21:54:13 +0000 |
---|---|---|
committer | fredk <fredk@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1999-05-21 21:54:13 +0000 |
commit | a3f096084537c3274f7e5103b76459045ffedcfb (patch) | |
tree | 33fe8eb3ff680568de3583819973af3c184f629f | |
parent | 805bcd791be0d59cef1b85a4d585c258ed81d701 (diff) | |
download | ATCD-a3f096084537c3274f7e5103b76459045ffedcfb.tar.gz |
*** empty log message ***
-rw-r--r-- | TAO/tao/IIOP_Acceptor.cpp | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/TAO/tao/IIOP_Acceptor.cpp b/TAO/tao/IIOP_Acceptor.cpp index 8aeb35c7678..127cac7b1d3 100644 --- a/TAO/tao/IIOP_Acceptor.cpp +++ b/TAO/tao/IIOP_Acceptor.cpp @@ -47,8 +47,6 @@ TAO_IIOP_Acceptor::create_mprofile (const TAO_ObjectKey &object_key, // ACE_INET_Addr new_address; // if (base_acceptor_.acceptor ().get_local_addr (new_address) == -1) // return 0; - ACE_INET_Addr new_address (orb_params->addr ().get_port_number (), - orb_params->host ()); // we only make one int count = mprofile->profile_count (); @@ -59,8 +57,14 @@ TAO_IIOP_Acceptor::create_mprofile (const TAO_ObjectKey &object_key, } TAO_IIOP_Profile pfile; + // ACE_NEW_RETURN (pfile + // TAO_IIOP_Profile (new_address, object_key), + // -1); ACE_NEW_RETURN (pfile - TAO_IIOP_Profile (new_address, object_key), + TAO_IIOP_Profile (orb_params->host (), + orb_params->addr ().get_port_number (), + key, + orb_params->addr ()), -1); if (mprofile->give_profile (pfile) == -1) |