diff options
Diffstat (limited to 'TAO/tao/LF_Connect_Strategy.cpp')
-rw-r--r-- | TAO/tao/LF_Connect_Strategy.cpp | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/TAO/tao/LF_Connect_Strategy.cpp b/TAO/tao/LF_Connect_Strategy.cpp index bc401286334..a52852f0529 100644 --- a/TAO/tao/LF_Connect_Strategy.cpp +++ b/TAO/tao/LF_Connect_Strategy.cpp @@ -30,21 +30,19 @@ TAO_LF_Connect_Strategy::synch_options (ACE_Time_Value *timeout, { if (timeout != 0) { - options.set (ACE_Synch_Options::USE_REACTOR, - *timeout); + options.set (ACE_Synch_Options::USE_REACTOR, *timeout); } else { // Making it sure it is blocking. - options.set (ACE_Synch_Options::USE_REACTOR, - ACE_Time_Value::zero); + options.set (ACE_Synch_Options::USE_REACTOR, ACE_Time_Value::zero); } } int TAO_LF_Connect_Strategy::wait_i (TAO_LF_Event *ev, TAO_Transport *transport, - ACE_Time_Value *max_wait_time) + ACE_Time_Value *max_wait_time) { if (transport == 0) return -1; @@ -53,9 +51,7 @@ TAO_LF_Connect_Strategy::wait_i (TAO_LF_Event *ev, this->orb_core_->leader_follower (); int result = - leader_follower.wait_for_event (ev, - transport, - max_wait_time); + leader_follower.wait_for_event (ev, transport, max_wait_time); if (ev->error_detected () && result != -1) result = -1; |