mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-18 10:51:40 +00:00
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:
@@ -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);
|
||||
|
Reference in New Issue
Block a user