From: Tilghman Lesher Date: Wed, 7 Oct 2009 17:32:06 +0000 (+0000) Subject: Small typo (thanks, jpeeler) X-Git-Tag: 1.6.0.18-rc1~74 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1deccd9ae69279d38954d01a287744833bed0ab2;p=thirdparty%2Fasterisk.git Small typo (thanks, jpeeler) git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@222541 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- 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}");