summaryrefslogtreecommitdiff
path: root/ace/RMCast/RMCast_Module.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ace/RMCast/RMCast_Module.cpp')
-rw-r--r--ace/RMCast/RMCast_Module.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/ace/RMCast/RMCast_Module.cpp b/ace/RMCast/RMCast_Module.cpp
index 08ff971f039..727ef631d9d 100644
--- a/ace/RMCast/RMCast_Module.cpp
+++ b/ace/RMCast/RMCast_Module.cpp
@@ -32,12 +32,16 @@ ACE_RMCast_Module::next (void) const
int
ACE_RMCast_Module::open (void)
{
+ if (this->next () != 0)
+ return this->next ()->open ();
return 0;
}
int
ACE_RMCast_Module::close (void)
{
+ if (this->next () != 0)
+ return this->next ()->close ();
return 0;
}