From b66bba2a264cfc878b51d0983fc7e7302861ac09 Mon Sep 17 00:00:00 2001 From: tilghman Date: Wed, 7 Oct 2009 17:32:06 +0000 Subject: Small typo (thanks, jpeeler) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@222541 f38db490-d61c-443f-a65b-d21fe96a405b --- res/ael/pval.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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}"); -- cgit v1.2.3