[asterisk-scf-commits] asterisk-scf/release/pjproject.git branch "veesix" updated.

Commits to the Asterisk SCF project code repositories asterisk-scf-commits at lists.digium.com
Tue Nov 23 10:28:02 CST 2010


branch "veesix" has been updated
       via  affef644ef803c2c8e45f8b7ac259cf2f27595ce (commit)
      from  8f90f061528ea7be26af518c0683650a69acd306 (commit)

Summary of changes:
 pjsip/src/pjsip/sip_transport_tcp.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


- Log -----------------------------------------------------------------
commit affef644ef803c2c8e45f8b7ac259cf2f27595ce
Author: Mark Michelson <mmichelson at digium.com>
Date:   Tue Nov 23 10:32:24 2010 -0600

    Add a missed assumed pj_AF_INET() fixup.

diff --git a/pjsip/src/pjsip/sip_transport_tcp.c b/pjsip/src/pjsip/sip_transport_tcp.c
index 67daa16..69c8a0a 100644
--- a/pjsip/src/pjsip/sip_transport_tcp.c
+++ b/pjsip/src/pjsip/sip_transport_tcp.c
@@ -326,7 +326,7 @@ PJ_DEF(pj_status_t) pjsip_tcp_transport_start3(
 	if (!pj_sockaddr_has_addr(listener_addr)) {
 	    pj_sockaddr hostip;
 
-	    status = pj_gethostip(pj_AF_INET(), &hostip);
+	    status = pj_gethostip(cfg->af, &hostip);
 	    if (status != PJ_SUCCESS)
 		goto on_error;
 

-----------------------------------------------------------------------


-- 
asterisk-scf/release/pjproject.git



More information about the asterisk-scf-commits mailing list