mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-05 04:11:08 +00:00
Fix some comments in pbx.c and pbx_config.c
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2223 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
3
pbx.c
3
pbx.c
@@ -4096,12 +4096,13 @@ void __ast_context_destroy(struct ast_context *con, char *registrar, int lock)
|
||||
free(tmpil);
|
||||
}
|
||||
for (ipi = tmp->ignorepats; ipi; ) {
|
||||
/* Free includes */
|
||||
/* Free ignorepats */
|
||||
ipl = ipi;
|
||||
ipi = ipi->next;
|
||||
free(ipl);
|
||||
}
|
||||
for (sw = tmp->alts; sw; ) {
|
||||
/* Free switches */
|
||||
swl = sw;
|
||||
sw = sw->next;
|
||||
free(swl);
|
||||
|
@@ -1576,7 +1576,7 @@ static int pbx_load_module(void)
|
||||
}
|
||||
cxt = ast_category_browse(cfg, NULL);
|
||||
while(cxt) {
|
||||
/* All categories but "general" are considered contexts */
|
||||
/* All categories but "general" or "globals" are considered contexts */
|
||||
if (!strcasecmp(cxt, "general") || !strcasecmp(cxt, "globals")) {
|
||||
cxt = ast_category_browse(cfg, cxt);
|
||||
continue;
|
||||
|
Reference in New Issue
Block a user