summaryrefslogtreecommitdiff
path: root/ace/Acceptor.cpp
diff options
context:
space:
mode:
authorOssama Othman <ossama-othman@users.noreply.github.com>2001-06-10 00:05:57 +0000
committerOssama Othman <ossama-othman@users.noreply.github.com>2001-06-10 00:05:57 +0000
commitdce18eea4d34de2ca417d8c4c0d88a6f082f6ae2 (patch)
treea3ee1293c39e7c51c4e8968f1dd19ed825f79ffa /ace/Acceptor.cpp
parent8cb6e6745ff6f7d4e084a92761055995be224f73 (diff)
downloadATCD-dce18eea4d34de2ca417d8c4c0d88a6f082f6ae2.tar.gz
ChangeLogTag:Sat Jun 09 17:03:37 2001 Ossama Othman <ossama@uci.edu>
Diffstat (limited to 'ace/Acceptor.cpp')
-rw-r--r--ace/Acceptor.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/ace/Acceptor.cpp b/ace/Acceptor.cpp
index 7ad847eb71e..2e9afb3b31e 100644
--- a/ace/Acceptor.cpp
+++ b/ace/Acceptor.cpp
@@ -581,7 +581,8 @@ ACE_Strategy_Acceptor<SVC_HANDLER, ACE_PEER_ACCEPTOR_2>::open
// socket handle is "ready" and when we call <accept>. During this
// interval, the client can shutdown the connection, in which case,
// the <accept> call can hang!
- this->peer_acceptor_.enable (ACE_NONBLOCK);
+ if (this->accept_strategy_->acceptor ().enable (ACE_NONBLOCK) != 0)
+ return -1;
return this->reactor ()->register_handler
(this,