Tweak the handling of the frame list inside of ast_answer().
authorRussell Bryant <russell@russellbryant.com>
Tue, 17 Mar 2009 15:22:12 +0000 (15:22 +0000)
committerRussell Bryant <russell@russellbryant.com>
Tue, 17 Mar 2009 15:22:12 +0000 (15:22 +0000)
commit9d6ba51d054d2010f73c806ee47e90c9277ffca1
tree0c36362c6bc622c2e23f253e546f6fad7fd1b684
parent16b9280ba99887380c32c8291cfe8425807b6393
Tweak the handling of the frame list inside of ast_answer().

This does not change any behavior, but moves the frames from the local frame
list back to the channel read queue using an O(n) algorithm instead of O(n^2).

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@182553 65c4cc65-6c06-0410-ace0-fbb531ad65f3
main/channel.c