diff options
Diffstat (limited to 'TAO/orbsvcs/ImplRepo_Service/ImR_Locator_i.cpp')
-rw-r--r-- | TAO/orbsvcs/ImplRepo_Service/ImR_Locator_i.cpp | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/TAO/orbsvcs/ImplRepo_Service/ImR_Locator_i.cpp b/TAO/orbsvcs/ImplRepo_Service/ImR_Locator_i.cpp index d8e8e520a88..f2ea2b9de4f 100644 --- a/TAO/orbsvcs/ImplRepo_Service/ImR_Locator_i.cpp +++ b/TAO/orbsvcs/ImplRepo_Service/ImR_Locator_i.cpp @@ -1389,14 +1389,6 @@ SyncListener::SyncListener (const char *server, bool SyncListener::is_alive (void) { -#if 0 - this->status_ = this->pinger_.is_alive(this->server()); - - if (this->status_ == LS_ALIVE) - return true; - else if (this->status_ == LS_DEAD) - return false; -#endif this->callback_ = true; while (!this->got_it_) { @@ -1412,8 +1404,7 @@ SyncListener::is_alive (void) this->orb_->perform_work (delay); } this->got_it_ = false; - ACE_DEBUG ((LM_DEBUG, "SyncListener::is_alive returning %d (stat = %d)\n", status_ != LS_DEAD, status_)); - return this->status_ != LS_DEAD; + return this->status_ == LS_ALIVE; } bool |