[commit] r9506 - freeswitch/trunk/libs/sofia-sip/libsofia-sip-ua/nua
Author: mikej Date: Wed Sep 10 12:20:55 2008 New Revision: 9506 Modified: freeswitch/trunk/libs/sofia-sip/libsofia-sip-ua/nua/test_s2.c Log: Wed Sep 10 09:29:58 EDT 2008 Pekka Pessi <first.last@nokia.com> * test_s2.c: turn on s2 tport log if environment variable S2_TPORT_LOG is set Modified: freeswitch/trunk/libs/sofia-sip/libsofia-sip-ua/nua/test_s2.c ============================================================================== --- freeswitch/trunk/libs/sofia-sip/libsofia-sip-ua/nua/test_s2.c (original) +++ freeswitch/trunk/libs/sofia-sip/libsofia-sip-ua/nua/test_s2.c Wed Sep 10 12:20:55 2008 @@ -785,7 +785,7 @@ void s2_case(char const *number, char const *title, - char const *desciption) + char const *description) { _s2case = number; } @@ -917,7 +917,9 @@ ta_start(ta, tag, value); if (s2->master == NULL) { - s2->master = tport_tcreate(s2, s2_stack, s2->root, ta_tags(ta)); + s2->master = tport_tcreate(s2, s2_stack, s2->root, + TPTAG_LOG(getenv("S2_TPORT_LOG") != NULL), + ta_tags(ta)); if (s2->master == NULL) { assert(s2->master); @@ -1488,7 +1490,7 @@ s2_setup_dns(); s2_setup_logs(0); - s2_setup_tport(NULL, TPTAG_LOG(0), TAG_END()); + s2_setup_tport(NULL, TAG_END()); assert(s2->contact); /* enable/disable multithreading */
participants (1)
-
Freeswitch SVN