[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
Wed Dec 15 19:36:30 UTC 2010
branch "veesix" has been updated
via 23957be23cf833643535a84399a5ca3a558a0b35 (commit)
from 8fc656b866062aa20b0ab5d99ffa3d60da04d395 (commit)
Summary of changes:
pjsip/src/pjsip/sip_transport_tcp.c | 6 ------
1 files changed, 0 insertions(+), 6 deletions(-)
- Log -----------------------------------------------------------------
commit 23957be23cf833643535a84399a5ca3a558a0b35
Author: Mark Michelson <mmichelson at digium.com>
Date: Wed Dec 15 13:42:25 2010 -0600
REmove leftover printf debugging.
diff --git a/pjsip/src/pjsip/sip_transport_tcp.c b/pjsip/src/pjsip/sip_transport_tcp.c
index ba9d29f..b5ab080 100644
--- a/pjsip/src/pjsip/sip_transport_tcp.c
+++ b/pjsip/src/pjsip/sip_transport_tcp.c
@@ -429,10 +429,8 @@ static enum tcp_v6_test_result tcp_v6_test(void)
#else
if (pj_get_native_netos_error() == EAFNOSUPPORT) {
#endif
- printf("Fail return 1\n");
return TCP_V6_TEST_FAIL_FALLBACK;
}
- printf("Fail return 2\n");
return TCP_V6_TEST_FAIL_NO_FALLBACK;
}
status = pj_sock_socket(pj_AF_INET6(), pj_SOCK_STREAM(), 0, &sock);
@@ -442,10 +440,8 @@ static enum tcp_v6_test_result tcp_v6_test(void)
#else
if (pj_get_native_netos_error() == EAFNOSUPPORT) {
#endif
- printf("Fail return 3\n");
return TCP_V6_TEST_FAIL_FALLBACK;
}
- printf("Fail return 4. %d, %s\n", status, strerror(errno));
return TCP_V6_TEST_FAIL_NO_FALLBACK;
}
status = pj_sock_bind(sock, &addr, sizeof(pj_sockaddr_in6));
@@ -456,11 +452,9 @@ static enum tcp_v6_test_result tcp_v6_test(void)
if (pj_get_native_netos_error() == EAFNOSUPPORT || pj_get_native_netos_error() == EADDRNOTAVAIL) {
#endif
pj_sock_close(sock);
- printf("Fail return 5\n");
return TCP_V6_TEST_FAIL_FALLBACK;
}
pj_sock_close(sock);
- printf("Fail return 6\n");
return TCP_V6_TEST_FAIL_NO_FALLBACK;
}
pj_sock_close(sock);
-----------------------------------------------------------------------
--
asterisk-scf/release/pjproject.git
More information about the asterisk-scf-commits
mailing list