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_transaction.c

    r3553 r3753  
    226226    PJ_LOG(5,(tsx->obj_name, "STUN sending message (transmit count=%d)", 
    227227              tsx->transmit_count)); 
     228    pj_log_push_indent(); 
    228229 
    229230    /* Send message */ 
     
    239240        } 
    240241        stun_perror(tsx, "STUN error sending message", status); 
    241         return status; 
    242     } 
    243  
     242    } 
     243 
     244    pj_log_pop_indent(); 
    244245    return status; 
    245246} 
     
    322323        tsx->retransmit_timer.id = 0; 
    323324        PJ_LOG(4,(tsx->obj_name, "STUN timeout waiting for response")); 
     325        pj_log_push_indent(); 
    324326        if (!tsx->complete) { 
    325327            tsx->complete = PJ_TRUE; 
     
    329331        } 
    330332        /* We might have been destroyed, don't try to access the object */ 
     333        pj_log_pop_indent(); 
    331334        return; 
    332335    } 
Note: See TracChangeset for help on using the changeset viewer.