aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 495602baa..2143e5ff4 100644
--- a/res/res_agi.c
+++ b/res/res_agi.c
@@ -2015,7 +2015,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 */