Ignore:
Timestamp:
Sep 18, 2011 2:59:56 PM (13 years ago)
Author:
bennylp
Message:

Modified the libraries to use the new log indentation feature re #1372

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjnath/src/pjnath/stun_session.c

    r3553 r3753  
    865865    PJ_ASSERT_RETURN(sess && addr_len && server && tdata, PJ_EINVAL); 
    866866 
     867    pj_log_push_indent(); 
     868 
    867869    /* Allocate packet */ 
    868870    tdata->max_len = PJ_STUN_MAX_PKT_LEN; 
     
    972974on_return: 
    973975    pj_lock_release(sess->lock); 
     976 
     977    pj_log_pop_indent(); 
    974978 
    975979    /* Check if application has called destroy() in the callback */ 
     
    13541358    PJ_ASSERT_RETURN(sess && packet && pkt_size, PJ_EINVAL); 
    13551359 
     1360    pj_log_push_indent(); 
     1361 
    13561362    /* Lock the session and prevent user from destroying us in the callback */ 
    13571363    pj_atomic_inc(sess->busy); 
     
    14111417    pj_lock_release(sess->lock); 
    14121418 
     1419    pj_log_pop_indent(); 
     1420 
    14131421    /* If we've received destroy request while we're on the callback, 
    14141422     * destroy the session now. 
Note: See TracChangeset for help on using the changeset viewer.