summaryrefslogtreecommitdiff
path: root/rtp.c
diff options
context:
space:
mode:
authorMark Spencer <markster@digium.com>2005-01-25 06:10:20 +0000
committerMark Spencer <markster@digium.com>2005-01-25 06:10:20 +0000
commit5f726ad8c72afd54c2909f25f2eab36e937321ab (patch)
tree5e740f79246c281ef1bc43bcffc87fd21f676005 /rtp.c
parenta611ce04f16e647cf072a380579cb3d64c538645 (diff)
Merge config updates (bug #3406)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4889 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'rtp.c')
-rwxr-xr-xrtp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/rtp.c b/rtp.c
index 36772d6a9..473e841b4 100755
--- a/rtp.c
+++ b/rtp.c
@@ -1753,7 +1753,7 @@ void ast_rtp_reload(void)
#ifdef SO_NO_CHECK
checksums = 1;
#endif
- cfg = ast_load("rtp.conf");
+ cfg = ast_config_load("rtp.conf");
if (cfg) {
if ((s = ast_variable_retrieve(cfg, "general", "rtpstart"))) {
rtpstart = atoi(s);
@@ -1780,7 +1780,7 @@ void ast_rtp_reload(void)
ast_log(LOG_WARNING, "Disabling RTP checksums is not supported on this operating system!\n");
#endif
}
- ast_destroy(cfg);
+ ast_config_destroy(cfg);
}
if (rtpstart >= rtpend) {
ast_log(LOG_WARNING, "Unreasonable values for RTP start in rtp.conf/end\n");