]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
tweak
authorMichael Jerris <mike@jerris.com>
Sat, 18 Oct 2008 04:34:26 +0000 (04:34 +0000)
committerMichael Jerris <mike@jerris.com>
Sat, 18 Oct 2008 04:34:26 +0000 (04:34 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10067 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/mod/endpoints/mod_sofia/sofia_glue.c

index 4dea741b3e18652a03849b6f9ad875b81fe6b182..0368bee014cdac41bee53001e20662e00735551d 100644 (file)
@@ -870,7 +870,7 @@ switch_status_t sofia_glue_tech_proxy_remote_addr(private_object_t *tech_pvt)
                }
        }
 
-       if (rip && rp && switch_rtp_ready(tech_pvt->rtp_session)) {
+       if (*rip && *rp && switch_rtp_ready(tech_pvt->rtp_session)) {
                char *remote_host = switch_rtp_get_remote_host(tech_pvt->rtp_session);
                switch_port_t remote_port = switch_rtp_get_remote_port(tech_pvt->rtp_session), rpi = (switch_port_t) atoi(rp);