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
1.0
Mark Spencer 22 years ago
parent 068fd1d839
commit fc7311e94c

@ -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 */

Loading…
Cancel
Save