diff options
author | fredk <fredk@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1999-05-25 00:03:55 +0000 |
---|---|---|
committer | fredk <fredk@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1999-05-25 00:03:55 +0000 |
commit | ff9ec5d10256e5aa4fe387e73e284c60864eb881 (patch) | |
tree | dbcfff396ae30a92301c4b0adc8e49179cbfaa89 | |
parent | 11f10cd8d63243b4e1f1b3fbf19ed07d97ecc039 (diff) | |
download | ATCD-ff9ec5d10256e5aa4fe387e73e284c60864eb881.tar.gz |
fixed allocation problem
-rw-r--r-- | TAO/tao/IIOP_Acceptor.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/TAO/tao/IIOP_Acceptor.cpp b/TAO/tao/IIOP_Acceptor.cpp index 02048e09763..0ec956cdce3 100644 --- a/TAO/tao/IIOP_Acceptor.cpp +++ b/TAO/tao/IIOP_Acceptor.cpp @@ -45,7 +45,7 @@ TAO_IIOP_Acceptor::create_mprofile (const TAO_ObjectKey &object_key, ACE_INET_Addr addr; // do a getsockname () to get the address - if (base_acceptor_.acceptor ().get_local_addr (new_address) == -1) + if (base_acceptor_.acceptor ().get_local_addr (addr) == -1) return 0; // @@ we only make one for now @@ -60,7 +60,7 @@ TAO_IIOP_Acceptor::create_mprofile (const TAO_ObjectKey &object_key, ACE_NEW_RETURN (pfile, TAO_IIOP_Profile (this->host_, this->port_, - key, + object_key, addr), -1); |