[Asterisk-cvs] asterisk/pbx pbx_dundi.c, 1.22, 1.23 pbx_loopback.c,
1.2, 1.3
markster at lists.digium.com
markster at lists.digium.com
Sat Jan 1 15:21:15 CST 2005
Update of /usr/cvsroot/asterisk/pbx
In directory mongoose.digium.com:/tmp/cvs-serv4536/pbx
Modified Files:
pbx_dundi.c pbx_loopback.c
Log Message:
List improvements from kpfleming (bugs #3166,#3140)
Index: pbx_dundi.c
===================================================================
RCS file: /usr/cvsroot/asterisk/pbx/pbx_dundi.c,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -d -r1.22 -r1.23
--- pbx_dundi.c 23 Dec 2004 15:11:46 -0000 1.22
+++ pbx_dundi.c 1 Jan 2005 21:26:37 -0000 1.23
@@ -551,7 +551,7 @@
AST_LIST_INSERT_HEAD(&headp, newvariable, entries);
pbx_substitute_variables_varshead(&headp, map->dest, dr[anscnt].dest, sizeof(dr[anscnt].dest));
while (!AST_LIST_EMPTY(&headp)) { /* List Deletion. */
- newvariable = AST_LIST_REMOVE_HEAD(&headp, ast_var_t, entries);
+ newvariable = AST_LIST_REMOVE_HEAD(&headp, entries);
ast_var_delete(newvariable);
}
} else
Index: pbx_loopback.c
===================================================================
RCS file: /usr/cvsroot/asterisk/pbx/pbx_loopback.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- pbx_loopback.c 23 Dec 2004 15:11:46 -0000 1.2
+++ pbx_loopback.c 1 Jan 2005 21:26:37 -0000 1.3
@@ -81,7 +81,7 @@
pbx_substitute_variables_varshead(&headp, data, buf, buflen);
/* Substitute variables */
while (!AST_LIST_EMPTY(&headp)) { /* List Deletion. */
- newvariable = AST_LIST_REMOVE_HEAD(&headp, ast_var_t, entries);
+ newvariable = AST_LIST_REMOVE_HEAD(&headp, entries);
ast_var_delete(newvariable);
}
return buf;
More information about the svn-commits
mailing list