mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-05 20:20:07 +00:00
Don't delete original variables after appending clone ones
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2098 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -2049,7 +2049,6 @@ static int ast_do_masquerade(struct ast_channel *original)
|
||||
original->varshead.first = clone->varshead.first;
|
||||
}
|
||||
clone->varshead.first = NULL;
|
||||
original->varshead.first = clone->varshead.first;
|
||||
/* Presense of ADSI capable CPE follows clone */
|
||||
original->adsicpe = clone->adsicpe;
|
||||
/* Bridge remains the same */
|
||||
|
Reference in New Issue
Block a user