summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--TAO/orbsvcs/orbsvcs/Notify/MonitorControlExt/MonitorProxySupplier_T.cpp10
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)