[Asterisk-cvs] asterisk-addons app_addon_sql_mysql.c,1.2,1.3

markster at lists.digium.com markster at lists.digium.com
Sun Jan 9 18:41:24 CST 2005


Update of /usr/cvsroot/asterisk-addons
In directory mongoose.digium.com:/tmp/cvs-serv27755

Modified Files:
	app_addon_sql_mysql.c 
Log Message:
Replace type with iterator (bug #3292)


Index: app_addon_sql_mysql.c
===================================================================
RCS file: /usr/cvsroot/asterisk-addons/app_addon_sql_mysql.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- app_addon_sql_mysql.c	9 Jan 2005 09:06:33 -0000	1.2
+++ app_addon_sql_mysql.c	10 Jan 2005 00:45:44 -0000	1.3
@@ -161,7 +161,7 @@
 		AST_LIST_TRAVERSE(headp,i,entries) {
 			if ((i->identifier==identifier) && 
 			    (i->identifier_type==identifier_type)) {
-				AST_LIST_REMOVE(headp,ast_MYSQL_id,entries);
+				AST_LIST_REMOVE(headp,i,entries);
 				free(i);
 				found=1;
 				break;




More information about the svn-commits mailing list