diff options
author | Johnny Willemsen <jwillemsen@remedy.nl> | 2005-03-24 10:05:00 +0000 |
---|---|---|
committer | Johnny Willemsen <jwillemsen@remedy.nl> | 2005-03-24 10:05:00 +0000 |
commit | 2f07f6d2d4d958ed6a91e0b2674dfbcd1e168547 (patch) | |
tree | d6397ca1ffe185d4d3fc9490be31f8528e2ac551 | |
parent | f00335dd5b7d7a101f0fa16fb94a1f8fb0207500 (diff) | |
download | ATCD-2f07f6d2d4d958ed6a91e0b2674dfbcd1e168547.tar.gz |
ChangeLogTag: Thu Mar 24 10:04:12 UTC 2005 Johnny Willemsen <jwillemsen@remedy.nl>
-rw-r--r-- | TAO/orbsvcs/orbsvcs/Log/RTEventLogNotification.cpp | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/TAO/orbsvcs/orbsvcs/Log/RTEventLogNotification.cpp b/TAO/orbsvcs/orbsvcs/Log/RTEventLogNotification.cpp index 50bf6175c89..27bae02833b 100644 --- a/TAO/orbsvcs/orbsvcs/Log/RTEventLogNotification.cpp +++ b/TAO/orbsvcs/orbsvcs/Log/RTEventLogNotification.cpp @@ -45,8 +45,8 @@ TAO_RTEventLogNotification::disconnect_push_supplier (ACE_ENV_SINGLE_ARG_DECL_NO void TAO_RTEventLogNotification::obtainProxyConsumer (ACE_ENV_SINGLE_ARG_DECL) -{ - RtecEventChannelAdmin::SupplierAdmin_var supplier_admin = +{ + RtecEventChannelAdmin::SupplierAdmin_var supplier_admin = event_channel_->for_suppliers(); consumer_ = supplier_admin->obtain_push_consumer(); @@ -75,7 +75,11 @@ TAO_RTEventLogNotification::send_notification (const CORBA::Any& any) event[0].header.type = ACE_ES_EVENT_UNDEFINED; event[0].header.source = 1; event[0].header.ttl = 1; +#ifndef TAO_LACKS_EVENT_CHANNEL_ANY event[0].data.any_value <<= any; +#else + ACE_UNUSED_ARG (any); +#endif consumer_->push(event); } |