summaryrefslogtreecommitdiff
path: root/ace/Acceptor.cpp
diff options
context:
space:
mode:
authorschmidt <douglascraigschmidt@users.noreply.github.com>1997-10-11 01:04:04 +0000
committerschmidt <douglascraigschmidt@users.noreply.github.com>1997-10-11 01:04:04 +0000
commitf1ca33521098d86b82f089ef2bc9e109645de1e0 (patch)
tree60da7562b6672a9f3c65bc5996041350d6a9a5bb /ace/Acceptor.cpp
parentb48c129ecdd412467b481397dc610167f9b94625 (diff)
downloadATCD-f1ca33521098d86b82f089ef2bc9e109645de1e0.tar.gz
rs
Diffstat (limited to 'ace/Acceptor.cpp')
-rw-r--r--ace/Acceptor.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/ace/Acceptor.cpp b/ace/Acceptor.cpp
index 1b03f190cc5..7273d15f0a4 100644
--- a/ace/Acceptor.cpp
+++ b/ace/Acceptor.cpp
@@ -773,7 +773,7 @@ ACE_Oneshot_Acceptor<SVC_HANDLER, ACE_PEER_ACCEPTOR_2>::handle_timeout
const void *arg)
{
ACE_TRACE ("ACE_Oneshot_Acceptor<SVC_HANDLER, ACE_PEER_ACCEPTOR_2>::handle_timeout");
- errno = ETIMEDOUT;
+ errno = ETIME;
if (this->svc_handler_->handle_timeout (tv, arg) == -1)
this->svc_handler_->handle_close (this->svc_handler_->get_handle (),
@@ -782,7 +782,7 @@ ACE_Oneshot_Acceptor<SVC_HANDLER, ACE_PEER_ACCEPTOR_2>::handle_timeout
// Since we aren't necessarily registered with the Reactor, don't
// bother to check the return value here...
if (this->reactor ())
- this->reactor ()->remove_handler (this, ACE_Event_Handler::ACCEPT_MASK);
+ this->reactor ()->remove_handler (this, ACE_Event_Handler::ACCEPT_MASK);
return 0;
}