quicky agent formatting fix, merge polarity/answer patch (bug #2847)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4985 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Mark Spencer
2005-02-08 07:49:40 +00:00
parent 53060a3a44
commit 4b485062ee
3 changed files with 47 additions and 10 deletions

View File

@@ -383,8 +383,7 @@ static struct ast_frame *agent_read(struct ast_channel *ast)
/* Don't pass answer along */
ast_frfree(f);
f = &null_frame;
}
else {
} else {
p->acknowledged = 1;
f = &answer_frame;
if (p->chan)