summaryrefslogtreecommitdiff
path: root/TAO/examples/Event_Comm/Consumer_Handler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/examples/Event_Comm/Consumer_Handler.cpp')
-rw-r--r--TAO/examples/Event_Comm/Consumer_Handler.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/TAO/examples/Event_Comm/Consumer_Handler.cpp b/TAO/examples/Event_Comm/Consumer_Handler.cpp
index 14b728535dc..c2b86f0eb20 100644
--- a/TAO/examples/Event_Comm/Consumer_Handler.cpp
+++ b/TAO/examples/Event_Comm/Consumer_Handler.cpp
@@ -42,8 +42,9 @@ Consumer_Handler::init (int argc,
TAO_CHECK_ENV;
// Save the Shutdown callback.
- this->consumershutdown = _consumershutdown;
- // Set the ConsumerShutdown callback object.
+ this->consumershutdown = _consumershutdown;
+ // Set the ConsumerShutdown callback object
+ // in the Consumer object implementation.
this->receiver_i_.set (_consumershutdown);
// Start the servant.