From: Leif Madsen Date: Thu, 25 Mar 2010 15:21:26 +0000 (+0000) Subject: handle_speechset has 4 arguments. X-Git-Tag: 11.0.0-beta1~3237 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0eb71bccf1dbcdffb7a06338bc33f41dc2a9719b;p=thirdparty%2Fasterisk.git 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/trunk@254446 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/res/res_agi.c b/res/res_agi.c index 6113c7a3cf..cf1679daf9 100644 --- a/res/res_agi.c +++ b/res/res_agi.c @@ -2661,7 +2661,7 @@ static int handle_speechcreate(struct ast_channel *chan, AGI *agi, int argc, con static int handle_speechset(struct ast_channel *chan, AGI *agi, int argc, const char * const argv[]) { /* Check for minimum arguments */ - if (argc != 3) + if (argc != 4) return RESULT_SHOWUSAGE; /* Check to make sure speech structure exists */