summaryrefslogtreecommitdiff
path: root/res
diff options
context:
space:
mode:
Diffstat (limited to 'res')
-rw-r--r--res/res_agi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/res/res_agi.c b/res/res_agi.c
index 6113c7a3c..cf1679daf 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 */