diff options
Diffstat (limited to 'pbx')
-rwxr-xr-x | pbx/pbx_dundi.c | 2 | ||||
-rwxr-xr-x | pbx/pbx_loopback.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/pbx/pbx_dundi.c b/pbx/pbx_dundi.c index d0cab9c7d..6274aa89f 100755 --- a/pbx/pbx_dundi.c +++ b/pbx/pbx_dundi.c @@ -551,7 +551,7 @@ static int dundi_lookup_local(struct dundi_result *dr, struct dundi_mapping *map 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 diff --git a/pbx/pbx_loopback.c b/pbx/pbx_loopback.c index 16b854099..0868cd7c4 100755 --- a/pbx/pbx_loopback.c +++ b/pbx/pbx_loopback.c @@ -81,7 +81,7 @@ static char *loopback_helper(char *buf, int buflen, const char *exten, const cha 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; |