Module: sip-router
Branch: master
Commit: a4b4ff805b4d6adcd8bc88c253f79fc44baab82e
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=a4b4ff8…
Author: Richard Fuchs <rfuchs(a)sipwise.com>
Committer: Richard Fuchs <rfuchs(a)sipwise.com>
Date: Sat Mar 29 08:07:32 2014 -0400
rtpengine: fix inconsistent function naming
---
modules/rtpengine/rtpengine.c | 2 +-
modules/rtpengine/rtpengine.h | 2 +-
modules/rtpengine/rtpengine_db.c | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/modules/rtpengine/rtpengine.c b/modules/rtpengine/rtpengine.c
index 3a193dc..0c4d782 100644
--- a/modules/rtpengine/rtpengine.c
+++ b/modules/rtpengine/rtpengine.c
@@ -692,7 +692,7 @@ static int rtpengine_add_rtpengine_set( char * rtp_proxies)
if (rtpp_list != NULL)
{
- if (add_rtpproxy_socks(rtpp_list, rtp_proxies) != 0)
+ if (add_rtpengine_socks(rtpp_list, rtp_proxies) != 0)
goto error;
else
return 0;
diff --git a/modules/rtpengine/rtpengine.h b/modules/rtpengine/rtpengine.h
index 6bb6b31..b1662db 100644
--- a/modules/rtpengine/rtpengine.h
+++ b/modules/rtpengine/rtpengine.h
@@ -63,7 +63,7 @@ struct rtpp_set_head{
struct rtpp_set *get_rtpp_set(int set_id);
-int add_rtpproxy_socks(struct rtpp_set * rtpp_list, char * rtpproxy);
+int add_rtpengine_socks(struct rtpp_set * rtpp_list, char * rtpproxy);
int init_rtpproxy_db(void);
diff --git a/modules/rtpengine/rtpengine_db.c b/modules/rtpengine/rtpengine_db.c
index 40dc2e6..9f8d0fe 100644
--- a/modules/rtpengine/rtpengine_db.c
+++ b/modules/rtpengine/rtpengine_db.c
@@ -112,7 +112,7 @@ static int rtpp_load_db(void)
continue;
}
- if (add_rtpproxy_socks(rtpp_list, url.s) != 0)
+ if (add_rtpengine_socks(rtpp_list, url.s) != 0)
{
LM_ERR("error inserting '%.*s' into set %d\n", url.len, url.s,
set_id);
}