From: Mark Spencer Date: Fri, 15 Aug 2003 22:45:26 +0000 (+0000) Subject: Fix dtmf buglet X-Git-Tag: 0.5.0~151 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=6be62cdb7a05477b16d70decdd4222084d5b46cf;p=thirdparty%2Fasterisk.git Fix dtmf buglet git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1345 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/apps/app_festival.c b/apps/app_festival.c index 56976c50cc..d9b2f46f26 100755 --- a/apps/app_festival.c +++ b/apps/app_festival.c @@ -170,7 +170,7 @@ static int send_waveform_to_channel(struct ast_channel *chan, char *waveform, in } if (f->frametype == AST_FRAME_DTMF) { ast_log(LOG_DEBUG, "User pressed a key\n"); - if (strchr(intkeys, f->subclass)) { + if (intkeys && strchr(intkeys, f->subclass)) { res = f->subclass; ast_frfree(f); break;