Changeset 4420 for pjproject/trunk/pjsip/src/test/tsx_uac_test.c
- Timestamp:
- Mar 5, 2013 11:59:54 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip/src/test/tsx_uac_test.c
r4208 r4420 221 221 222 222 /* Test the status code. */ 223 if (tsx->status_code != PJSIP_SC_TSX_TRANSPORT_ERROR) { 224 PJ_LOG(3,(THIS_FILE, 225 " error: status code is %d instead of %d", 226 tsx->status_code, PJSIP_SC_TSX_TRANSPORT_ERROR)); 223 if (tsx->status_code != PJSIP_SC_TSX_TRANSPORT_ERROR && 224 tsx->status_code != PJSIP_SC_BAD_GATEWAY) 225 { 226 PJ_LOG(3,(THIS_FILE, 227 " error: status code is %d instead of %d or %d", 228 tsx->status_code, PJSIP_SC_TSX_TRANSPORT_ERROR, 229 PJSIP_SC_BAD_GATEWAY)); 227 230 test_complete = -720; 228 231 } … … 689 692 if (tsx) { 690 693 pjsip_tsx_terminate(tsx, PJSIP_SC_REQUEST_TERMINATED); 691 pj_ mutex_unlock(tsx->mutex);694 pj_grp_lock_release(tsx->grp_lock); 692 695 } else { 693 696 PJ_LOG(3,(THIS_FILE, " error: uac transaction not found!")); … … 1028 1031 if (tsx) { 1029 1032 pjsip_tsx_terminate(tsx, PJSIP_SC_REQUEST_TERMINATED); 1030 pj_ mutex_unlock(tsx->mutex);1033 pj_grp_lock_release(tsx->grp_lock); 1031 1034 flush_events(1000); 1032 1035 }
Note: See TracChangeset
for help on using the changeset viewer.