diff options
Diffstat (limited to 'apps/app_senddtmf.c')
-rw-r--r-- | apps/app_senddtmf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/app_senddtmf.c b/apps/app_senddtmf.c index 66e31c850..81651ec6b 100644 --- a/apps/app_senddtmf.c +++ b/apps/app_senddtmf.c @@ -66,7 +66,7 @@ static int senddtmf_exec(struct ast_channel *chan, void *vdata) AST_APP_ARG(timeout); ); - if (ast_strlen_zero(data)) { + if (ast_strlen_zero(vdata)) { ast_log(LOG_WARNING, "SendDTMF requires an argument (digits or *#aAbBcCdD)\n"); return 0; } |