From 2edc9969bf62c7cedbed4cb4d872036beb0c74af Mon Sep 17 00:00:00 2001 From: kpfleming Date: Tue, 31 Jul 2007 14:54:46 +0000 Subject: umm... let's build with --enable-dev-mode, mmkay? git-svn-id: http://svn.digium.com/svn/asterisk/trunk@77819 f38db490-d61c-443f-a65b-d21fe96a405b --- apps/app_senddtmf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps/app_senddtmf.c') 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; } -- cgit v1.2.3