From 71206544a770eb4004294ed13613a7cde6e0e056 Mon Sep 17 00:00:00 2001 From: Kinsey Moore Date: Thu, 28 Mar 2013 15:45:18 +0000 Subject: Break the world. Stasis message type accessors should now all be named correctly. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@384261 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- apps/app_voicemail.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'apps/app_voicemail.c') diff --git a/apps/app_voicemail.c b/apps/app_voicemail.c index f1778691c..a05c34c99 100644 --- a/apps/app_voicemail.c +++ b/apps/app_voicemail.c @@ -12627,7 +12627,7 @@ static void mwi_event_cb(void *userdata, struct stasis_subscription *sub, struct { struct stasis_subscription_change *change; /* Only looking for subscription change notices here */ - if (stasis_message_type(msg) != stasis_subscription_change()) { + if (stasis_message_type(msg) != stasis_subscription_change_type()) { return; } @@ -12656,7 +12656,7 @@ static void start_poll_thread(void) mwi_sub_sub = stasis_subscribe(stasis_mwi_topic_all(), mwi_event_cb, NULL); if (mwi_sub_sub) { - struct ao2_container *cached = stasis_cache_dump(stasis_mwi_topic_cached(), stasis_subscription_change()); + struct ao2_container *cached = stasis_cache_dump(stasis_mwi_topic_cached(), stasis_subscription_change_type()); if (cached) { ao2_callback(cached, OBJ_MULTIPLE | OBJ_NODATA, dump_cache, NULL); } -- cgit v1.2.3