[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
Mon Dec 13 15:15:22 CST 2010


branch "veesix" has been updated
       via  7214dddf57ade076cf525d13deabda95c1d7f6d7 (commit)
      from  c4b44a49d553f7757fd05137f7e0d730956c138f (commit)

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


- Log -----------------------------------------------------------------
commit 7214dddf57ade076cf525d13deabda95c1d7f6d7
Author: Mark Michelson <mmichelson at digium.com>
Date:   Mon Dec 13 15:21:00 2010 -0600

    Remove redundant sockaddr initialization.

diff --git a/pjsip/src/pjsip/sip_transport_tcp.c b/pjsip/src/pjsip/sip_transport_tcp.c
index 35348a7..afa8da4 100644
--- a/pjsip/src/pjsip/sip_transport_tcp.c
+++ b/pjsip/src/pjsip/sip_transport_tcp.c
@@ -425,8 +425,6 @@ PJ_DEF(pj_status_t) pjsip_tcp_transport_start2(pjsip_endpoint *endpt,
 
     if (local)
 	pj_sockaddr_cp(&cfg.bind_addr, local);
-    else
-	pj_sockaddr_init(cfg.af, &cfg.bind_addr, NULL, 0);
 
     if (a_name)
 	pj_memcpy(&cfg.addr_name, a_name, sizeof(*a_name));

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


-- 
asterisk-scf/release/pjproject.git



More information about the asterisk-scf-commits mailing list