Remove unnecessary ast_check_hangup
authorJames Golovich <james@gnuinter.net>
Wed, 10 Mar 2004 07:05:01 +0000 (07:05 +0000)
committerJames Golovich <james@gnuinter.net>
Wed, 10 Mar 2004 07:05:01 +0000 (07:05 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2385 65c4cc65-6c06-0410-ace0-fbb531ad65f3

apps/app_zapscan.c

index 502aa5a..d41723c 100755 (executable)
@@ -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);