summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
Diffstat (limited to 'apps')
-rwxr-xr-xapps/app_dial.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/app_dial.c b/apps/app_dial.c
index 94e659519..50b2761c0 100755
--- a/apps/app_dial.c
+++ b/apps/app_dial.c
@@ -701,7 +701,7 @@ static int dial_exec_full(struct ast_channel *chan, void *data, struct ast_flags
{
int res=-1;
struct localuser *u;
- char *peers, *tech, *number, *rest, *cur;
+ char *tech, *number, *rest, *cur;
char privcid[256];
char privintro[1024];
struct localuser *outgoing=NULL, *tmp;
@@ -940,7 +940,7 @@ static int dial_exec_full(struct ast_channel *chan, void *data, struct ast_flags
/* If a channel group has been specified, get it for use when we create peer channels */
outbound_group = pbx_builtin_getvar_helper(chan, "OUTBOUND_GROUP");
- cur = peers;
+ cur = args.peers;
do {
/* Remember where to start next time */
rest = strchr(cur, '&');