[PATCH 05/14] AVIS: Added avis implementation for muteCurrentTopic


Frank Quinn <fquinn.ni@...>
 

Like qpid, this is simply a call to the internal bridge function
to mute the subscription's topic.

Signed-off-by: Frank Quinn <fquinn.ni@...>
---
 mama/c_cpp/src/c/bridge/avis/sub.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mama/c_cpp/src/c/bridge/avis/sub.c b/mama/c_cpp/src/c/bridge/avis/sub.c
index 0418634..39f0541 100644
--- a/mama/c_cpp/src/c/bridge/avis/sub.c
+++ b/mama/c_cpp/src/c/bridge/avis/sub.c
@@ -462,7 +462,7 @@ avisBridgeMamaSubscription_setTopicClosure (subscriptionBridge subscriber,
 mama_status
 avisBridgeMamaSubscription_muteCurrentTopic (subscriptionBridge subscriber)
 {
-    return MAMA_STATUS_NOT_IMPLEMENTED;
+    return avisBridgeMamaSubscription_mute (subscriber);
 }
 
 int
--
2.4.3