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
1.0
James Golovich 22 years ago
parent d1cb6a3aa9
commit a23c89dd75

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

Loading…
Cancel
Save