summaryrefslogtreecommitdiff
path: root/TAO/tao/Exclusive_TMS.cpp
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2007-01-24 13:42:44 +0000
committerJohnny Willemsen <jwillemsen@remedy.nl>2007-01-24 13:42:44 +0000
commit1ce4bfe566cacc77785f53a0133d4c40f1d4146b (patch)
tree847cc2e50062a205e1c6b9d74eafe66e135e9b73 /TAO/tao/Exclusive_TMS.cpp
parent58c2d4f3d71d8c8258a9e659a37ca03e5f4bc5cf (diff)
downloadATCD-1ce4bfe566cacc77785f53a0133d4c40f1d4146b.tar.gz
Wed Jan 24 12:25:12 UTC 2007 Johnny Willemsen <jwillemsen@remedy.nl>
Diffstat (limited to 'TAO/tao/Exclusive_TMS.cpp')
-rw-r--r--TAO/tao/Exclusive_TMS.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/TAO/tao/Exclusive_TMS.cpp b/TAO/tao/Exclusive_TMS.cpp
index 47145cfff9b..8a3c303802d 100644
--- a/TAO/tao/Exclusive_TMS.cpp
+++ b/TAO/tao/Exclusive_TMS.cpp
@@ -14,7 +14,7 @@ TAO_BEGIN_VERSIONED_NAMESPACE_DECL
TAO_Exclusive_TMS::TAO_Exclusive_TMS (TAO_Transport *transport)
: TAO_Transport_Mux_Strategy (transport),
request_id_generator_ (0),
- has_request_ (0),
+ has_request_ (false),
request_id_ (0),
rd_ (0)
{
@@ -38,7 +38,7 @@ TAO_Exclusive_TMS::request_id (void)
// == -1 --> no bi-directional connection was negotiated
// The originating side must have an even request ID, and the other
// side must have an odd request ID. Make sure that is the case.
- int bidir_flag =
+ int const bidir_flag =
this->transport_->bidirectional_flag ();
if ((bidir_flag == 1 && ACE_ODD (this->request_id_generator_))
@@ -58,7 +58,7 @@ int
TAO_Exclusive_TMS::bind_dispatcher (CORBA::ULong request_id,
TAO_Reply_Dispatcher *rd)
{
- this->has_request_ = 1;
+ this->has_request_ = true;
this->request_id_ = request_id;
this->rd_ = rd;
@@ -70,7 +70,7 @@ TAO_Exclusive_TMS::unbind_dispatcher (CORBA::ULong request_id)
{
if (!this->has_request_ || this->request_id_ != request_id)
return -1;
- this->has_request_ = 0;
+ this->has_request_ = false;
this->request_id_ = 0;
this->rd_ = 0;
@@ -94,7 +94,7 @@ TAO_Exclusive_TMS::dispatch_reply (TAO_Pluggable_Reply_Params &params)
}
TAO_Reply_Dispatcher *rd = this->rd_;
- this->has_request_ = 0;
+ this->has_request_ = false;
this->request_id_ = 0; // @@ What is a good value???
this->rd_ = 0;