diff options
author | schmidt <douglascraigschmidt@users.noreply.github.com> | 1998-02-18 23:07:38 +0000 |
---|---|---|
committer | schmidt <douglascraigschmidt@users.noreply.github.com> | 1998-02-18 23:07:38 +0000 |
commit | 284fd8ecbeb69de106231f1a84aa7501efeb6173 (patch) | |
tree | de5ea2659ab4680abcbce4071bf507278cefb4c6 /apps/Gateway/Gateway | |
parent | 440ddd093aa2747408c2d2d9ec213086ed4ce23f (diff) | |
download | ATCD-284fd8ecbeb69de106231f1a84aa7501efeb6173.tar.gz |
*** empty log message ***
Diffstat (limited to 'apps/Gateway/Gateway')
-rw-r--r-- | apps/Gateway/Gateway/Connection_Handler_Connector.cpp | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/apps/Gateway/Gateway/Connection_Handler_Connector.cpp b/apps/Gateway/Gateway/Connection_Handler_Connector.cpp index 6e82fa7618d..218d049977f 100644 --- a/apps/Gateway/Gateway/Connection_Handler_Connector.cpp +++ b/apps/Gateway/Gateway/Connection_Handler_Connector.cpp @@ -10,22 +10,22 @@ Connection_Handler_Connector::Connection_Handler_Connector (void) int Connection_Handler_Connector::initiate_connection (Connection_Handler *connection_handler, - ACE_Synch_Options &synch_options) + ACE_Synch_Options &synch_options) { char addr_buf[MAXHOSTNAMELEN]; - // Mark ourselves as idle so that the various iterators - // will ignore us until we are reconnected. + // Mark ourselves as idle so that the various iterators will ignore + // us until we are reconnected. connection_handler->state (Connection_Handler::IDLE); - // We check the remote addr second so that it remains in the addr_buf. + // We check the remote addr second so that it remains in the + // addr_buf. if (connection_handler->local_addr ().addr_to_string (addr_buf, sizeof addr_buf) == -1 || connection_handler->remote_addr ().addr_to_string (addr_buf, sizeof addr_buf) == -1) ACE_ERROR_RETURN ((LM_ERROR, "(%t) %p\n", "can't obtain peer's address"), -1); // Try to connect to the Peer. - if (this->connect (connection_handler, connection_handler->remote_addr (), synch_options, @@ -36,7 +36,6 @@ Connection_Handler_Connector::initiate_connection (Connection_Handler *connectio connection_handler->state (Connection_Handler::FAILED); ACE_DEBUG ((LM_DEBUG, "(%t) %p on address %s\n", "connect", addr_buf)); - return -1; } else |