diff options
author | Johnny Willemsen <jwillemsen@remedy.nl> | 2010-06-29 19:12:16 +0000 |
---|---|---|
committer | Johnny Willemsen <jwillemsen@remedy.nl> | 2010-06-29 19:12:16 +0000 |
commit | daffbc51e8050b65c3ea384e941b5b608b3a2936 (patch) | |
tree | aee49f449bdd2be65dfb1302ffebd101500a28b6 | |
parent | c417470840f8354966d09d119e1662987d65984e (diff) | |
download | ATCD-daffbc51e8050b65c3ea384e941b5b608b3a2936.tar.gz |
-rw-r--r-- | TAO/orbsvcs/orbsvcs/Notify/MonitorControlExt/MonitorProxySupplier_T.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/TAO/orbsvcs/orbsvcs/Notify/MonitorControlExt/MonitorProxySupplier_T.cpp b/TAO/orbsvcs/orbsvcs/Notify/MonitorControlExt/MonitorProxySupplier_T.cpp index 08053f990d8..4c6c6e6dbac 100644 --- a/TAO/orbsvcs/orbsvcs/Notify/MonitorControlExt/MonitorProxySupplier_T.cpp +++ b/TAO/orbsvcs/orbsvcs/Notify/MonitorControlExt/MonitorProxySupplier_T.cpp @@ -48,11 +48,11 @@ TAO_MonitorProxySupplier_T<ProxyPushSupplier>::update_queue_count (size_t count) if (this->queue_item_count_ != 0) { // get a count of events that are being held at the consumer level. - size_t pending = 0; - if (TAO_Notify_ProxySupplier::consumer() != 0) - { - pending = this->TAO_Notify_ProxySupplier::consumer()->pending_count(); - } + size_t pending = 0; + if (TAO_Notify_ProxySupplier::consumer() != 0) + { + pending = this->TAO_Notify_ProxySupplier::consumer()->pending_count(); + } this->queue_item_count_->receive (count + pending); } if (this->child_ != 0) |