From: Steve Murphy Date: Tue, 27 Mar 2007 18:16:32 +0000 (+0000) Subject: via 9373 (duplicate context in AEL crashes asterisk), kpfleming pointed on asterisk... X-Git-Tag: 1.4.7.1~516 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=bd5967ea0cc8dbd05ba7ded5f97e2eec248a1346;p=thirdparty%2Fasterisk.git 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/branches/1.4@59261 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/pbx/pbx_ael.c b/pbx/pbx_ael.c index 5c36db3439..5291518899 100644 --- a/pbx/pbx_ael.c +++ b/pbx/pbx_ael.c @@ -3942,7 +3942,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 */