diff options
author | bala <balanatarajan@users.noreply.github.com> | 2001-05-03 22:44:13 +0000 |
---|---|---|
committer | bala <balanatarajan@users.noreply.github.com> | 2001-05-03 22:44:13 +0000 |
commit | 8e9b7c55d5a30ad603b842880d2b962d2f16e4cf (patch) | |
tree | 9b414474864405274400a046e42e120c2547be44 /ace/Acceptor.cpp | |
parent | cbd3f58e63504706a47663720289eb4f1f8efe31 (diff) | |
download | ATCD-8e9b7c55d5a30ad603b842880d2b962d2f16e4cf.tar.gz |
ChangeLogTag: Thu May 3 17:43:33 2001 Balachandran Natarajan <bala@cs.wustl.edu>
Diffstat (limited to 'ace/Acceptor.cpp')
-rw-r--r-- | ace/Acceptor.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/ace/Acceptor.cpp b/ace/Acceptor.cpp index 6c46e07f827..6ff6321448d 100644 --- a/ace/Acceptor.cpp +++ b/ace/Acceptor.cpp @@ -66,8 +66,8 @@ ACE_Acceptor<SVC_HANDLER, ACE_PEER_ACCEPTOR_2>::open ACE_TRACE ("ACE_Acceptor<SVC_HANDLER, ACE_PEER_ACCEPTOR_2>::open"); this->flags_ = flags; this->use_select_ = use_select; - this->reuse_addr_ = reuse_addr; - this->peer_acceptor_addr_ = local_addr; + this->reuse_addr_ = reuse_addr; + this->peer_acceptor_addr_ = local_addr; // Must supply a valid Reactor to Acceptor::open()... @@ -103,9 +103,9 @@ ACE_Acceptor<SVC_HANDLER, ACE_PEER_ACCEPTOR_2>::open template <class SVC_HANDLER, ACE_PEER_ACCEPTOR_1> ACE_Acceptor<SVC_HANDLER, ACE_PEER_ACCEPTOR_2>::ACE_Acceptor (ACE_Reactor *reactor, int use_select) - : use_select_ (use_select), - flags_ (0), - reuse_addr_ (1) + :flags_ (0), + use_select_ (use_select), + reuse_addr_ (1) { ACE_TRACE ("ACE_Acceptor<SVC_HANDLER, ACE_PEER_ACCEPTOR_2>::ACE_Acceptor"); @@ -292,7 +292,7 @@ ACE_Acceptor<SVC_HANDLER, ACE_PEER_ACCEPTOR_2>::accept_svc_handler // If <reuse_addr> is true then we will close the socket and // open it again... - if (this->reuse_addr_) + if (this->reuse_addr_) { this->peer_acceptor_.close (); this->peer_acceptor_.open (this->peer_acceptor_addr_, |