Merged revisions 40994 via svnmerge from
authorRussell Bryant <russell@russellbryant.com>
Thu, 24 Aug 2006 19:53:43 +0000 (19:53 +0000)
committerRussell Bryant <russell@russellbryant.com>
Thu, 24 Aug 2006 19:53:43 +0000 (19:53 +0000)
commit1ff5a0988d09edb965b5ebc1008a7805e68ff0f6
treebfc67c2cf6b6170a2055dfe0b6a1e815f1803cdf
parent9df34a3d4065135fa6ff94e6dbb3281bfc434a09
Merged revisions 40994 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r40994 | russell | 2006-08-24 15:41:26 -0400 (Thu, 24 Aug 2006) | 11 lines

Fix a few issues related to the handling of channel variables
 - in pbx_builtin_serialize_variables(), the variable list traversal would stop
   on a variables with empty name/values, which is not appropriate
 - When removing the GROUP variables, use AST_LIST_REMOVE_CURRENT instead of
   AST_LIST_REMOVE
 - During masquerading, when copying the variables list from one channel to the
   other, using AST_LIST_INSERT_TAIL is not valid for appending a whole list.
   It leaves the tail pointer of the list invalid.  Introduce a new macro,
   AST_LIST_APPEND_LIST that appends a list properly.
(issue #7802, softins)

........

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