[asterisk-commits] mmichelson: branch group/CCSS_Monitor_Restructure r242360 - /team/group/CCSS_...
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Fri Jan 22 11:06:24 CST 2010
Author: mmichelson
Date: Fri Jan 22 11:06:20 2010
New Revision: 242360
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=242360
Log:
Set the monitor private data correctly.
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=242360&r1=242359&r2=242360
==============================================================================
--- team/group/CCSS_Monitor_Restructure/main/ccss.c (original)
+++ team/group/CCSS_Monitor_Restructure/main/ccss.c Fri Jan 22 11:06:20 2010
@@ -1083,6 +1083,8 @@
}
gen_mon_pvt->core_id = monitor->core_id;
+
+ monitor->private_data = gen_mon_pvt;
if (!(generic_list = find_generic_monitor_instance_list(monitor->interface->name))) {
if (!(generic_list = create_new_generic_list(monitor))) {
@@ -1611,6 +1613,7 @@
monitor->parent_id = parent_id;
monitor->core_id = core_id;
monitor->service_offered = cc_data->service;
+ monitor->private_data = cc_data->private_data;
cc_interface->monitor_type = cc_data->monitor_type;
cc_interface->monitor_class = AST_CC_DEVICE_MONITOR;
monitor->interface = cc_interface;
More information about the asterisk-commits
mailing list