Remove unnecessary ast_check_hangup

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2385 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
James Golovich
2004-03-10 07:05:01 +00:00
parent 6c6bd28308
commit 21832436ec

View File

@@ -257,7 +257,7 @@ static int conf_exec(struct ast_channel *chan, void *data)
for (;;) {
f = ast_read(chan);
if (!f || ast_check_hangup(chan))
if (!f)
break;
if ((f->frametype == AST_FRAME_DTMF) && (f->subclass == '*')) {
ast_frfree(f);