diff options
author | schmidt <douglascraigschmidt@users.noreply.github.com> | 1997-12-05 23:29:39 +0000 |
---|---|---|
committer | schmidt <douglascraigschmidt@users.noreply.github.com> | 1997-12-05 23:29:39 +0000 |
commit | b64537275f7a2f65888f3e7def08b39bf87afbdb (patch) | |
tree | dd88f510132813dda4aff0c2c1d25aa4f972589c /ace/Acceptor.cpp | |
parent | ab11a5258bb8a032f85e01571e7fe5485b2b5144 (diff) | |
download | ATCD-b64537275f7a2f65888f3e7def08b39bf87afbdb.tar.gz |
*** empty log message ***
Diffstat (limited to 'ace/Acceptor.cpp')
-rw-r--r-- | ace/Acceptor.cpp | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/ace/Acceptor.cpp b/ace/Acceptor.cpp index 53297383d74..b46916232b9 100644 --- a/ace/Acceptor.cpp +++ b/ace/Acceptor.cpp @@ -183,7 +183,8 @@ ACE_Acceptor<SVC_HANDLER, ACE_PEER_ACCEPTOR_2>::handle_close (ACE_HANDLE, // accept_strategy_... this->reactor_->remove_handler - (handle, ACE_Event_Handler::ACCEPT_MASK | ACE_Event_Handler::DONT_CALL); + (handle, + ACE_Event_Handler::ACCEPT_MASK | ACE_Event_Handler::DONT_CALL); // Shut down the listen socket to recycle the handles. if (this->peer_acceptor_.close () == -1) @@ -294,7 +295,7 @@ ACE_Acceptor<SVC_HANDLER, ACE_PEER_ACCEPTOR_2>::handle_input (ACE_HANDLE listene // Default is "timeout (0, 0)," which means "poll." ACE_Time_Value timeout; - // Accept connections from clients (note that a loop is used for two + // Accept connections from clients. Note that a loop is used for two // reasons: // // 1. It allows us to accept all pending connections without an @@ -302,7 +303,7 @@ ACE_Acceptor<SVC_HANDLER, ACE_PEER_ACCEPTOR_2>::handle_input (ACE_HANDLE listene // non-blocking I/O... // // 2. It allows the TLI_SAP::ACE_Acceptor class to work correctly (don't - // ask -- TLI is *horrible*...)). + // ask -- TLI is *horrible*...). // @@ What should we do if any of the substrategies fail? Right // now, we just log an error message and return 0 (which means that @@ -646,6 +647,7 @@ ACE_Strategy_Acceptor<SVC_HANDLER, ACE_PEER_ACCEPTOR_2>::info (char **strp, size_t length) const { ACE_TRACE ("ACE_Strategy_Acceptor::info"); + char buf[BUFSIZ]; char service_addr_str[BUFSIZ]; ACE_PEER_ACCEPTOR_ADDR addr; |