]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
via 9373 (duplicate context in AEL crashes asterisk), kpfleming pointed on asterisk...
authorSteve Murphy <murf@digium.com>
Tue, 27 Mar 2007 18:16:32 +0000 (18:16 +0000)
committerSteve Murphy <murf@digium.com>
Tue, 27 Mar 2007 18:16:32 +0000 (18:16 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@59261 65c4cc65-6c06-0410-ace0-fbb531ad65f3

pbx/pbx_ael.c

index 5c36db3439af950f4a901a335c66892bc50ea008..52915188999ea348f481d3283f6976ac9d2c6726 100644 (file)
@@ -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 */