Changeset 839 for pjproject/trunk/pjsip/src/pjsip/sip_transaction.c
- Timestamp:
- Dec 1, 2006 11:14:37 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip/src/pjsip/sip_transaction.c
r815 r839 176 176 static pj_status_t tsx_create( pjsip_module *tsx_user, 177 177 pjsip_transaction **p_tsx); 178 static voidtsx_destroy( pjsip_transaction *tsx );178 static pj_status_t tsx_destroy( pjsip_transaction *tsx ); 179 179 static void tsx_resched_retransmission( pjsip_transaction *tsx ); 180 180 static pj_status_t tsx_retransmit( pjsip_transaction *tsx, int resched); … … 645 645 pjsip_transaction *tsx = pj_hash_this(mod_tsx_layer.htable, it); 646 646 pj_hash_iterator_t *next = pj_hash_next(mod_tsx_layer.htable, it); 647 if (tsx) 647 if (tsx) { 648 mod_tsx_layer_unregister_tsx(tsx); 648 649 tsx_destroy(tsx); 650 } 649 651 it = next; 650 652 } … … 921 923 922 924 /* Destroy transaction. */ 923 static voidtsx_destroy( pjsip_transaction *tsx )925 static pj_status_t tsx_destroy( pjsip_transaction *tsx ) 924 926 { 925 927 struct tsx_lock_data *lck; … … 955 957 PJ_LOG(4,(tsx->obj_name, "Will destroy later because transport is " 956 958 "in progress")); 957 return ;959 return PJ_EBUSY; 958 960 } 959 961 … … 972 974 973 975 pjsip_endpt_release_pool(tsx->endpt, tsx->pool); 976 977 return PJ_SUCCESS; 974 978 } 975 979
Note: See TracChangeset
for help on using the changeset viewer.