diff options
author | Johnny Willemsen <jwillemsen@remedy.nl> | 2007-03-09 13:01:34 +0000 |
---|---|---|
committer | Johnny Willemsen <jwillemsen@remedy.nl> | 2007-03-09 13:01:34 +0000 |
commit | a8e9398133ffe89b65a11041da2d3a034fa3be7a (patch) | |
tree | fffe7b0f377cf88ed50b5adc04e71b6c885f9d94 | |
parent | 904769e382a4c5cb7a69c051de270d4fc1fc8ca8 (diff) | |
download | ATCD-a8e9398133ffe89b65a11041da2d3a034fa3be7a.tar.gz |
Fri Mar 9 12:55:12 UTC 2007 Johnny Willemsen <jwillemsen@remedy.nl>
-rw-r--r-- | TAO/tao/Connect_Strategy.cpp | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/TAO/tao/Connect_Strategy.cpp b/TAO/tao/Connect_Strategy.cpp index 9a79bece571..e382a627ffd 100644 --- a/TAO/tao/Connect_Strategy.cpp +++ b/TAO/tao/Connect_Strategy.cpp @@ -26,12 +26,11 @@ TAO_Connect_Strategy::wait (TAO_Connection_Handler *ch, if (ch == 0) return -1; - return this->wait_i (ch, ch->transport (),max_wait_time); + return this->wait_i (ch, ch->transport (), max_wait_time); } int -TAO_Connect_Strategy::wait (TAO_Transport *t, - ACE_Time_Value *max_wait_time) +TAO_Connect_Strategy::wait (TAO_Transport *t, ACE_Time_Value *max_wait_time) { // Basically the connection was EINPROGRESS, but before we could // wait for it some other thread detected a failure and cleaned up @@ -39,21 +38,21 @@ TAO_Connect_Strategy::wait (TAO_Transport *t, if (t == 0) return -1; - return this->wait_i (t->connection_handler(),t,max_wait_time); + return this->wait_i (t->connection_handler (), t, max_wait_time); } int TAO_Connect_Strategy::wait (TAO_LF_Multi_Event *mev, ACE_Time_Value *max_wait_time) { - return this->wait_i (mev, mev->base_transport(), max_wait_time); + return this->wait_i (mev, mev->base_transport (), max_wait_time); } int TAO_Connect_Strategy::poll (TAO_LF_Multi_Event *mev) { - ACE_Time_Value zero(ACE_Time_Value::zero); - return this->wait_i (mev, mev->base_transport(), &zero); + ACE_Time_Value zero (ACE_Time_Value::zero); + return this->wait_i (mev, mev->base_transport (), &zero); } TAO_END_VERSIONED_NAMESPACE_DECL |