aboutsummaryrefslogtreecommitdiffstats
path: root/res/res_agi.c
diff options
context:
space:
mode:
authorrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2006-10-31 06:14:13 +0000
committerrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2006-10-31 06:14:13 +0000
commit14c8986eb8d7845a4e747d882d0da60959391e00 (patch)
treea42e20df5fbf5c48d0b382a3a6df308b14df3ef7 /res/res_agi.c
parent0f22fbab76b44a41fc54c9dc1f1b920741b8c6bf (diff)
Merged revisions 46557 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r46557 | russell | 2006-10-31 01:13:09 -0500 (Tue, 31 Oct 2006) | 3 lines fix some copy/paste bugs in the checking of arguments for the "control stream file" AGI command (issue #8255, mnicholson) ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@46558 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'res/res_agi.c')
-rw-r--r--res/res_agi.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/res/res_agi.c b/res/res_agi.c
index 7a9677c6c..4d9510f84 100644
--- a/res/res_agi.c
+++ b/res/res_agi.c
@@ -515,12 +515,12 @@ static int handle_controlstreamfile(struct ast_channel *chan, AGI *agi, int argc
if ((argc > 5) && (sscanf(argv[5], "%d", &skipms) != 1))
return RESULT_SHOWUSAGE;
- if (argc > 6 && !ast_strlen_zero(argv[8]))
+ if (argc > 6 && !ast_strlen_zero(argv[6]))
fwd = argv[6];
else
fwd = "#";
- if (argc > 7 && !ast_strlen_zero(argv[8]))
+ if (argc > 7 && !ast_strlen_zero(argv[7]))
rev = argv[7];
else
rev = "*";