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

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Wed Feb 3 10:05:55 CST 2010


Author: mmichelson
Date: Wed Feb  3 10:05:51 2010
New Revision: 244503

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=244503
Log:
Why the eff do scheduler callbacks have a const void argument anyway?


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=244503&r1=244502&r2=244503
==============================================================================
--- team/group/CCSS_Monitor_Restructure/main/ccss.c (original)
+++ team/group/CCSS_Monitor_Restructure/main/ccss.c Wed Feb  3 10:05:51 2010
@@ -2026,7 +2026,7 @@
 	struct cc_generic_agent_pvt *agent_pvt = agent->private_data;
 	ast_log_dynamic_level(cc_logger_level, "Queuing change request because offer timer has expired.\n");
 	agent_pvt->offer_timer_id = -1;
-	cc_unref(agent, "Remove scheduler's reference to the agent");
+	cc_unref((struct ast_cc_agent *)agent, "Remove scheduler's reference to the agent");
 	ast_cc_failed(agent->core_id, "Generic agent offer timer expired");
 	return 0;
 }




More information about the asterisk-commits mailing list