[asterisk-commits] kmoore: trunk r383287 - in /trunk: channels/chan_mgcp.c res/res_jabber.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Sat Mar 16 11:00:41 CDT 2013


Author: kmoore
Date: Sat Mar 16 11:00:40 2013
New Revision: 383287

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=383287
Log:
Make sure things compile...

Modified:
    trunk/channels/chan_mgcp.c
    trunk/res/res_jabber.c

Modified: trunk/channels/chan_mgcp.c
URL: http://svnview.digium.com/svn/asterisk/trunk/channels/chan_mgcp.c?view=diff&rev=383287&r1=383286&r2=383287
==============================================================================
--- trunk/channels/chan_mgcp.c (original)
+++ trunk/channels/chan_mgcp.c Sat Mar 16 11:00:40 2013
@@ -507,7 +507,7 @@
 
 	ast_str_set(&uniqueid, 0, "%s@%s", mbox, cntx);
 
-	msg = stasis_cache_get(stasis_mwi_topic_cached(), stasis_mwi_state(), ast_str_buffer(uniqueid));
+	msg = stasis_cache_get(stasis_mwi_topic_cached(), stasis_mwi_state_message(), ast_str_buffer(uniqueid));
 
 	if (msg) {
 		struct stasis_mwi_state *mwi_state = stasis_message_data(msg);
@@ -4182,7 +4182,7 @@
 					ast_str_reset(uniqueid);
 					ast_str_set(&uniqueid, 0, "%s@%s", mbox, cntx);
 
-					maibox_specific_topic = stasis_mwi_topic(ast_str_buffer(uniqueid));
+					mailbox_specific_topic = stasis_mwi_topic(ast_str_buffer(uniqueid));
 					if (mailbox_specific_topic) {
 						e->mwi_event_sub = stasis_subscribe(mailbox_specific_topic, mwi_event_cb, NULL);
 					}

Modified: trunk/res/res_jabber.c
URL: http://svnview.digium.com/svn/asterisk/trunk/res/res_jabber.c?view=diff&rev=383287&r1=383286&r2=383287
==============================================================================
--- trunk/res/res_jabber.c (original)
+++ trunk/res/res_jabber.c Sat Mar 16 11:00:40 2013
@@ -3249,7 +3249,7 @@
 	struct aji_client *client = data;
 	struct stasis_mwi_state *mwi_state;
 
-	if (!stasis_subscription_is_subscribed(sub) || stasis_mwi_state() != stasis_message_type(msg)) {
+	if (!stasis_subscription_is_subscribed(sub) || stasis_mwi_state_message() != stasis_message_type(msg)) {
 		return;
 	}
 




More information about the asterisk-commits mailing list