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

Commits to the Asterisk SCF project code repositories asterisk-scf-commits at lists.digium.com
Tue Mar 22 17:11:49 CDT 2011


branch "master" has been updated
       via  cf1b8c3554064ffbc8f2c556d875ab2652e4663f (commit)
      from  58f0370234f9909ce64a2ccd2119898619814067 (commit)

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


- Log -----------------------------------------------------------------
commit cf1b8c3554064ffbc8f2c556d875ab2652e4663f
Author: Mark Michelson <mmichelson at digium.com>
Date:   Tue Mar 22 17:10:54 2011 -0500

    Change which definition to check when determining what to include in the TLS tests.
    
    This prevents potential linking errors.

diff --git a/pjsip/src/test/transport_tls_test.c b/pjsip/src/test/transport_tls_test.c
index 6353405..1c06787 100644
--- a/pjsip/src/test/transport_tls_test.c
+++ b/pjsip/src/test/transport_tls_test.c
@@ -28,7 +28,7 @@
 /*
  * TLS transport test.
  */
-#if PJ_HAS_TCP
+#if PJSIP_HAS_TLS_TRANSPORT
 int transport_tls_test(void)
 {
     enum { SEND_RECV_LOOP = 8 };
@@ -154,9 +154,9 @@ int transport_tls_test(void)
     /* Done */
     return 0;
 }
-#else	/* PJ_HAS_TCP */
+#else	/* PJSIP_HAS_TLS_TRANSPORT */
 int transport_tls_test(void)
 {
     return 0;
 }
-#endif	/* PJ_HAS_TCP */
+#endif	/* PJSIP_HAS_TLS_TRANSPORT */
diff --git a/pjsip/src/test/transport_tls_test_v6.c b/pjsip/src/test/transport_tls_test_v6.c
index e2e16c9..78c6aea 100644
--- a/pjsip/src/test/transport_tls_test_v6.c
+++ b/pjsip/src/test/transport_tls_test_v6.c
@@ -28,7 +28,7 @@
 /*
  * TLS transport test.
  */
-#if PJ_HAS_TCP
+#if PJSIP_HAS_TLS_TRANSPORT
 int transport_tls_test_v6(void)
 {
     enum { SEND_RECV_LOOP = 8 };
@@ -149,9 +149,9 @@ int transport_tls_test_v6(void)
     /* Done */
     return 0;
 }
-#else	/* PJ_HAS_TCP */
+#else	/* PJSIP_HAS_TLS_TRANSPORT */
 int transport_tls_test_v6(void)
 {
     return 0;
 }
-#endif	/* PJ_HAS_TCP */
+#endif	/* PJSIP_HAS_TLS_TRANSPORT */

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


-- 
asterisk-scf/release/pjproject.git



More information about the asterisk-scf-commits mailing list