mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-16 06:48:25 +00:00
major header file cleanup: license, copyrights, descriptions, markers, etc.
remove deprecated config_old.c/config_old.h remove unused cvsid.h git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6454 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
2
config.c
2
config.c
@@ -394,7 +394,7 @@ static int process_text_line(struct ast_config *cfg, struct ast_category **cat,
|
||||
} else if (!strcasecmp(cur, "+")) {
|
||||
*cat = category_get(cfg, catname, 1);
|
||||
if (!*cat) {
|
||||
ast_destroy(cfg);
|
||||
ast_config_destroy(cfg);
|
||||
if (newcat)
|
||||
ast_category_destroy(newcat);
|
||||
ast_log(LOG_WARNING, "Category addition requested, but category '%s' does not exist, line %d of %s\n", catname, lineno, configfile);
|
||||
|
||||
Reference in New Issue
Block a user