[asterisk-commits] mmichelson: branch group/CCSS_Monitor_Restructure r242090 - /team/group/CCSS_...

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Thu Jan 21 16:23:46 CST 2010


Author: mmichelson
Date: Thu Jan 21 16:23:42 2010
New Revision: 242090

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=242090
Log:
Remove unneeded function calls.


Modified:
    team/group/CCSS_Monitor_Restructure/main/ccss.c

Modified: team/group/CCSS_Monitor_Restructure/main/ccss.c
URL: http://svnview.digium.com/svn/asterisk/team/group/CCSS_Monitor_Restructure/main/ccss.c?view=diff&rev=242090&r1=242089&r2=242090
==============================================================================
--- team/group/CCSS_Monitor_Restructure/main/ccss.c (original)
+++ team/group/CCSS_Monitor_Restructure/main/ccss.c Thu Jan 21 16:23:42 2010
@@ -2441,7 +2441,6 @@
 	core_instance->agent->callbacks->stop_offer_timer(core_instance->agent);
 	/* It doesn't matter what service we state for the root monitor, so we just use AST_CC_NONE */
 	request_cc(core_instance);
-	core_instance->monitor->callbacks->request_cc(core_instance->monitor, core_instance->core_id, NULL);
 	manager_event(EVENT_FLAG_CC, "CCRequested",
 		"CoreID: %d\r\n"
 		"Caller: %s\r\n",
@@ -2485,7 +2484,6 @@
 			"Caller: %s\r\n",
 			core_instance->core_id, core_instance->agent->interface);
 		unsuspend(core_instance);
-		core_instance->monitor->callbacks->unsuspend(core_instance->monitor, core_instance->core_id);
 	}
 	/* Not possible for previous_state to be anything else due to the is_state_change_valid check at the beginning */
 	return 0;




More information about the asterisk-commits mailing list