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:
Mark Spencer
2003-10-25 17:50:06 +00:00
parent e425ba6c0e
commit 4d0e046a06
3 changed files with 25 additions and 0 deletions

View File

@@ -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;
}