summaryrefslogtreecommitdiff
path: root/pbx/pbx_ael.c
diff options
context:
space:
mode:
authorSteve Murphy <murf@digium.com>2007-03-27 18:21:50 +0000
committerSteve Murphy <murf@digium.com>2007-03-27 18:21:50 +0000
commite1476b8aabbc5ab9aaa7af08d05cc8334823554e (patch)
treea7899db09af99e9c7431a5c1c60eb2bfe78d433a /pbx/pbx_ael.c
parent93e2d66f13f7f8eca17e220c98ad429e41306b07 (diff)
Merged revisions 59261 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r59261 | murf | 2007-03-27 12:16:32 -0600 (Tue, 27 Mar 2007) | 1 line via 9373 (duplicate context in AEL crashes asterisk), kpfleming pointed on asterisk-dev, that DECLINE in this case the proper thing to do. This change now has it doing the proper thing. ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@59264 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'pbx/pbx_ael.c')
-rw-r--r--pbx/pbx_ael.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pbx/pbx_ael.c b/pbx/pbx_ael.c
index 6ca9b3458..0a43ff0cf 100644
--- a/pbx/pbx_ael.c
+++ b/pbx/pbx_ael.c
@@ -4053,7 +4053,7 @@ static int pbx_load_module(void)
} else {
ast_log(LOG_ERROR, "Sorry, but %d syntax errors and %d semantic errors were detected. It doesn't make sense to compile.\n", errs, sem_err);
destroy_pval(parse_tree); /* free up the memory */
- return AST_MODULE_LOAD_FAILURE;
+ return AST_MODULE_LOAD_DECLINE;
}
destroy_pval(parse_tree); /* free up the memory */