From 1deccd9ae69279d38954d01a287744833bed0ab2 Mon Sep 17 00:00:00 2001 From: Tilghman Lesher Date: Wed, 7 Oct 2009 17:32:06 +0000 Subject: [PATCH] Small typo (thanks, jpeeler) git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@222541 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- 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 dc5d057d75..c8d3ca41aa 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}"); -- 2.47.2