When we call a gosub routine, the variables should be scoped to avoid contaminating...
authorTilghman Lesher <tilghman@meg.abyt.es>
Tue, 6 Oct 2009 19:17:11 +0000 (19:17 +0000)
committerTilghman Lesher <tilghman@meg.abyt.es>
Tue, 6 Oct 2009 19:17:11 +0000 (19:17 +0000)
commit78012e4f713fb76cea7cc55383fdab93479cc0ba
tree2629575d6ef7e2323649f46ae1cbaa62f0d42f5f
parent0c3cd2ee458a347a9ff0a3ffb4366137b306b4a3
When we call a gosub routine, the variables should be scoped to avoid contaminating the caller.
This affected the ~~EXTEN~~ hack, where a subroutine might have changed the
value before it was used in the caller.
Patch by myself, tested by ebroad on #asterisk

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@222273 65c4cc65-6c06-0410-ace0-fbb531ad65f3
res/ael/pval.c