dect
/
asterisk
Archived
13
0
Fork 0

Merged revisions 46558 via svnmerge from

https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r46558 | russell | 2006-10-31 01:14:13 -0500 (Tue, 31 Oct 2006) | 11 lines

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/trunk@46559 f38db490-d61c-443f-a65b-d21fe96a405b
This commit is contained in:
russell 2006-10-31 06:15:12 +00:00
parent 97b5299651
commit 06c44c37f6
1 changed files with 2 additions and 2 deletions

View File

@ -524,12 +524,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 = "*";