--- cdr_shell/cdr_shell.c 2005-06-26 17:01:46.000000000 +0200 +++ cdr_shell.c.new 2005-07-01 01:21:12.000000000 +0200 @@ -20,7 +20,7 @@ #include #include #include -#include +#include #include @@ -175,7 +175,7 @@ struct ast_config *cfg; struct ast_variable *var; - if ((cfg = ast_config_load("cdr.conf"))) { + if ((cfg = ast_load("cdr.conf"))) { for (var = ast_variable_browse(cfg, "cdr_shell"); var; var = var->next) { if (!strcasecmp(var->name, "path")) { if (is_executable(var->value)) { @@ -189,7 +189,7 @@ } active = x; } - ast_config_destroy(cfg); + ast_destroy(cfg); } if (!active) {