small fix for issue 007926
authorAnthony LaMantia <alamantia@digium.com>
Mon, 11 Sep 2006 16:00:53 +0000 (16:00 +0000)
committerAnthony LaMantia <alamantia@digium.com>
Mon, 11 Sep 2006 16:00:53 +0000 (16:00 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@42715 65c4cc65-6c06-0410-ace0-fbb531ad65f3

apps/app_record.c

index ababa23..a51a8a5 100644 (file)
@@ -329,11 +329,6 @@ static int record_exec(struct ast_channel *chan, void *data)
                        }
                } else if ((f->frametype == AST_FRAME_DTMF) &&
                    (f->subclass == terminator)) {
-                        res = ast_writestream(s,f);
-                        
-                        if (res) {
-                               ast_log(LOG_WARNING,"Problem writing final record frame\n");
-                        }               
                        ast_frfree(f);
                        break;
                }