mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-12 15:45:18 +00:00
Verify includes, and give warnings if invalid (bug #429)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1667 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -1653,6 +1653,10 @@ static int pbx_load_module(void)
|
||||
ast_destroy(cfg);
|
||||
}
|
||||
ast_merge_contexts_and_delete(&local_contexts,registrar);
|
||||
|
||||
for (con = ast_walk_contexts(NULL); con; con = ast_walk_contexts(con))
|
||||
ast_context_verify_includes(con);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user