diff options
author | murf <murf@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-03-27 18:16:32 +0000 |
---|---|---|
committer | murf <murf@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-03-27 18:16:32 +0000 |
commit | 02beb76195be224e2a9b9a2861e42a7bbea628c0 (patch) | |
tree | 5d330ba7abea7b51465507be3c080c6a0673f62f /pbx | |
parent | f5d439d57a913a033b526167906f2e31f26d01e7 (diff) |
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: http://svn.digium.com/svn/asterisk/branches/1.4@59261 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'pbx')
-rw-r--r-- | pbx/pbx_ael.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pbx/pbx_ael.c b/pbx/pbx_ael.c index 5c36db343..529151889 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 */ |