summaryrefslogtreecommitdiff
path: root/ace/Connector.cpp
diff options
context:
space:
mode:
authorschmidt <douglascraigschmidt@users.noreply.github.com>2001-07-22 13:41:44 +0000
committerschmidt <douglascraigschmidt@users.noreply.github.com>2001-07-22 13:41:44 +0000
commit641882e585514a78d7f935d8c598e0e9ff6099aa (patch)
tree47e98c5b24970c0045a5fc9ee31b2588f04c3438 /ace/Connector.cpp
parentf5a884614d9b32d3a8776a577c0ec0a1fc7b99d6 (diff)
downloadATCD-641882e585514a78d7f935d8c598e0e9ff6099aa.tar.gz
ChangeLogTag:Sun Jul 22 08:19:43 2001 Douglas C. Schmidt <schmidt@ace.cs.wustl.edu>
Diffstat (limited to 'ace/Connector.cpp')
-rw-r--r--ace/Connector.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/ace/Connector.cpp b/ace/Connector.cpp
index 56c24aa0fb3..1ffbfcc2498 100644
--- a/ace/Connector.cpp
+++ b/ace/Connector.cpp
@@ -559,11 +559,12 @@ ACE_Connector<SVH, PR_CO_2>::create_AST (SVH *sh,
const ACE_Synch_Options &synch_options)
{
ACE_TRACE ("ACE_Connector<SVH, PR_CO_2>::create_AST");
+ ACE_HANDLE handle = sh->get_handle ();
AST *ast;
ACE_NEW_RETURN (ast,
AST (sh,
- sh->get_handle (),
+ handle,
synch_options.arg (), -1),
-1);
@@ -571,10 +572,9 @@ ACE_Connector<SVH, PR_CO_2>::create_AST (SVH *sh,
ACE_Reactor_Mask mask = ACE_Event_Handler::CONNECT_MASK;
// Bind ACE_Svc_Tuple with the ACE_HANDLE we're trying to connect.
- if (this->handler_map_.bind (sh->get_handle (),
- ast) == -1)
+ if (this->handler_map_.bind (handle, ast) == -1)
goto fail1;
- else if (this->reactor ()->register_handler (sh->get_handle (),
+ else if (this->reactor ()->register_handler (handle,
this,
mask) == -1)
goto fail2;
@@ -609,7 +609,7 @@ fail3:
(this, mask | ACE_Event_Handler::DONT_CALL);
/* FALLTHRU */
fail2:
- this->handler_map_.unbind (sh->get_handle ());
+ this->handler_map_.unbind (handle);
/* FALLTHRU */
fail1: