Revert a change to audio_audiohook_write_list that had no affect.
authorSean Bright <sean@malleable.com>
Thu, 16 Feb 2012 20:03:40 +0000 (20:03 +0000)
committerSean Bright <sean@malleable.com>
Thu, 16 Feb 2012 20:03:40 +0000 (20:03 +0000)
commitb80fcd77e5cb7b9a6532db3f03b36e9aec72be85
tree64bd15a53aa2fd9b31e83c3e38f6e8d24ec8853d
parent7093cf278ca023a3b43959f15202c7eabd3f9856
Revert a change to audio_audiohook_write_list that had no affect.

When I made this change initially, I was under the false impression that the
audiohooks structure remained on the channel after all of the hooks had been
detached.  This is not the case, ast ast_read takes care of removing the
audiohooks structure if the lists are empty.
........

Merged revisions 355622 from http://svn.asterisk.org/svn/asterisk/branches/1.8
........

Merged revisions 355623 from http://svn.asterisk.org/svn/asterisk/branches/10

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