aboutsummaryrefslogtreecommitdiffstats
path: root/res
diff options
context:
space:
mode:
authortilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2009-10-07 17:32:06 +0000
committertilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2009-10-07 17:32:06 +0000
commitb66bba2a264cfc878b51d0983fc7e7302861ac09 (patch)
tree860c81d24272a11b8deb56fc5a5f12594e24e10b /res
parent5a53eae78daf1d7e317fbcc30f4da304f4024eb4 (diff)
Small typo (thanks, jpeeler)
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@222541 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'res')
-rw-r--r--res/ael/pval.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/res/ael/pval.c b/res/ael/pval.c
index dc5d057d7..c8d3ca41a 100644
--- a/res/ael/pval.c
+++ b/res/ael/pval.c
@@ -3385,7 +3385,7 @@ static void gen_prios(struct ael_extension *exten, char *label, pval *statement,
switch_set = new_prio();
switch_set->type = AEL_APPCALL;
switch_set->app = strdup("Set");
- if (!strcmp(mother_exten->name, "s") && first) {
+ if (!strcmp(exten->name, "s") && first) {
switch_set->appargs = strdup("LOCAL(~~EXTEN~~)=${EXTEN}");
} else {
switch_set->appargs = strdup("~~EXTEN~~=${EXTEN}");