aboutsummaryrefslogtreecommitdiffstats
path: root/apps/app_privacy.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/app_privacy.c')
-rwxr-xr-xapps/app_privacy.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/app_privacy.c b/apps/app_privacy.c
index 39a1c1843..13bc38c30 100755
--- a/apps/app_privacy.c
+++ b/apps/app_privacy.c
@@ -82,7 +82,7 @@ privacy_exec (struct ast_channel *chan, void *data)
}
}
/*Read in the config file*/
- cfg = ast_load(PRIV_CONFIG);
+ cfg = ast_config_load(PRIV_CONFIG);
/*Play unidentified call*/
@@ -144,7 +144,7 @@ privacy_exec (struct ast_channel *chan, void *data)
chan->priority+=100;
}
if (cfg)
- ast_destroy(cfg);
+ ast_config_destroy(cfg);
}
LOCAL_USER_REMOVE (u);