From: Leif Madsen Date: Thu, 25 Mar 2010 15:22:30 +0000 (+0000) Subject: Merged revisions 254446 via svnmerge from X-Git-Tag: 1.6.0.27-rc1~27 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7b152d6dee6163d958d36b8b990d58de4f324561;p=thirdparty%2Fasterisk.git Merged revisions 254446 via svnmerge from https://origsvn.digium.com/svn/asterisk/trunk ........ r254446 | lmadsen | 2010-03-25 10:21:26 -0500 (Thu, 25 Mar 2010) | 9 lines handle_speechset has 4 arguments. Update code to reflect that handle_speechset has 4 arguments. (closes issue #17093) Reported by: gpatri Patches: res_agi.patch uploaded by gpatri (license 1014) Tested by: pabelanger, mmichelson ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@254449 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/res/res_agi.c b/res/res_agi.c index d88aabcd85..a813aa6e87 100644 --- a/res/res_agi.c +++ b/res/res_agi.c @@ -1781,7 +1781,7 @@ static int handle_speechcreate(struct ast_channel *chan, AGI *agi, int argc, cha static int handle_speechset(struct ast_channel *chan, AGI *agi, int argc, char **argv) { /* Check for minimum arguments */ - if (argc != 3) + if (argc != 4) return RESULT_SHOWUSAGE; /* Check to make sure speech structure exists */