Changeset 3753 for pjproject/trunk/pjnath/src/pjnath/stun_session.c
- Timestamp:
- Sep 18, 2011 2:59:56 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjnath/src/pjnath/stun_session.c
r3553 r3753 865 865 PJ_ASSERT_RETURN(sess && addr_len && server && tdata, PJ_EINVAL); 866 866 867 pj_log_push_indent(); 868 867 869 /* Allocate packet */ 868 870 tdata->max_len = PJ_STUN_MAX_PKT_LEN; … … 972 974 on_return: 973 975 pj_lock_release(sess->lock); 976 977 pj_log_pop_indent(); 974 978 975 979 /* Check if application has called destroy() in the callback */ … … 1354 1358 PJ_ASSERT_RETURN(sess && packet && pkt_size, PJ_EINVAL); 1355 1359 1360 pj_log_push_indent(); 1361 1356 1362 /* Lock the session and prevent user from destroying us in the callback */ 1357 1363 pj_atomic_inc(sess->busy); … … 1411 1417 pj_lock_release(sess->lock); 1412 1418 1419 pj_log_pop_indent(); 1420 1413 1421 /* If we've received destroy request while we're on the callback, 1414 1422 * destroy the session now.
Note: See TracChangeset
for help on using the changeset viewer.