[asterisk-commits] mmichelson: branch group/CCSS r217157 - /team/group/CCSS/main/ccss.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Tue Sep 8 15:03:01 CDT 2009


Author: mmichelson
Date: Tue Sep  8 15:03:00 2009
New Revision: 217157

URL: http://svn.asterisk.org/svn-view/asterisk?view=rev&rev=217157
Log:
Silly errors. In addition to allocating memory, I need to actually point to it.


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

Modified: team/group/CCSS/main/ccss.c
URL: http://svn.asterisk.org/svn-view/asterisk/team/group/CCSS/main/ccss.c?view=diff&rev=217157&r1=217156&r2=217157
==============================================================================
--- team/group/CCSS/main/ccss.c (original)
+++ team/group/CCSS/main/ccss.c Tue Sep  8 15:03:00 2009
@@ -1424,6 +1424,8 @@
 	if (!gen_mon_pvt) {
 		return -1;
 	}
+	ast_log(LOG_NOTICE, "Allocated a generic monitor pvt for device %s\n", monitor->name);
+	monitor->private_data = gen_mon_pvt;
 	return 0;
 }
 




More information about the asterisk-commits mailing list