[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 14:03:59 CST 2010


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

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


- Log -----------------------------------------------------------------
commit c4b44a49d553f7757fd05137f7e0d730956c138f
Author: Mark Michelson <mmichelson at digium.com>
Date:   Mon Dec 13 14:08:33 2010 -0600

    Use appropriate address family in comparison.
    
    This was not affecting the passing/failing of tests, but for
    clarity's sake, it needed to be corrected.

diff --git a/pjsip/src/test/transport_test.c b/pjsip/src/test/transport_test.c
index 9072537..339de67 100644
--- a/pjsip/src/test/transport_test.c
+++ b/pjsip/src/test/transport_test.c
@@ -34,7 +34,7 @@ int generic_transport_test(pjsip_transport *tp)
     PJ_LOG(3,(THIS_FILE, "  structure test..."));
 
     /* Check that local address name is valid. */
-    if (tp->local_addr.addr.sa_family == pj_AF_INET6()) {
+    if (tp->local_addr.addr.sa_family == pj_AF_INET()) {
 	struct pj_in_addr addr;
 
 	/* Note: inet_aton() returns non-zero if addr is valid! */

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


-- 
asterisk-scf/release/pjproject.git



More information about the asterisk-scf-commits mailing list