[svn-commits] mmichelson: branch group/CCSS r226226 - /team/group/CCSS/main/ccss.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Tue Oct 27 17:08:19 CDT 2009


Author: mmichelson
Date: Tue Oct 27 17:08:16 2009
New Revision: 226226

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=226226
Log:
Add note about the importance of the order of the
state change functions in the state_change_funcs table.

Thanks to Richard for the idea.


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

Modified: team/group/CCSS/main/ccss.c
URL: http://svnview.digium.com/svn/asterisk/team/group/CCSS/main/ccss.c?view=diff&rev=226226&r1=226225&r2=226226
==============================================================================
--- team/group/CCSS/main/ccss.c (original)
+++ team/group/CCSS/main/ccss.c Tue Oct 27 17:08:16 2009
@@ -2503,6 +2503,11 @@
 	return 0;
 }
 
+/* The order of items in this table
+ * is very important and must correspond
+ * to the order of the states in the
+ * cc_state enum.
+ */
 static struct cc_function_table {
 	enum cc_state state;
 	int (*func)(struct cc_core_instance *, struct cc_state_change_args *, enum cc_state previous_state);




More information about the svn-commits mailing list