diff options
Diffstat (limited to 'apps/app_enumlookup.c')
-rwxr-xr-x | apps/app_enumlookup.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/app_enumlookup.c b/apps/app_enumlookup.c index 16c9cf059..4664cd68a 100755 --- a/apps/app_enumlookup.c +++ b/apps/app_enumlookup.c @@ -145,14 +145,14 @@ static int load_config(void) struct ast_config *cfg; char *s; - cfg = ast_load(ENUM_CONFIG); + cfg = ast_config_load(ENUM_CONFIG); if (cfg) { if (!(s=ast_variable_retrieve(cfg, "general", "h323driver"))) { strncpy(h323driver, H323DRIVERDEFAULT, sizeof(h323driver) - 1); } else { strncpy(h323driver, s, sizeof(h323driver) - 1); } - ast_destroy(cfg); + ast_config_destroy(cfg); return 0; } ast_log(LOG_NOTICE, "No ENUM Config file, using defaults\n"); |