]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Small typo (thanks, jpeeler)
authorTilghman Lesher <tilghman@meg.abyt.es>
Wed, 7 Oct 2009 17:32:06 +0000 (17:32 +0000)
committerTilghman Lesher <tilghman@meg.abyt.es>
Wed, 7 Oct 2009 17:32:06 +0000 (17:32 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@222541 65c4cc65-6c06-0410-ace0-fbb531ad65f3

res/ael/pval.c

index dc5d057d75cbbf5503703ccb4ec0dc1f74c99766..c8d3ca41aa175af4907be3eb1ff2f01adedc45ac 100644 (file)
@@ -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}");