Ignore:
Timestamp:
Dec 14, 2007 5:18:16 PM (16 years ago)
Author:
bennylp
Message:

Fixed case when tdata is NULL pjsip_tx_data_get_info()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip/src/pjsip/sip_transport.c

    r1611 r1631  
    476476PJ_DEF(char*) pjsip_tx_data_get_info( pjsip_tx_data *tdata ) 
    477477{ 
     478    if (tdata==NULL || tdata->msg==NULL) 
     479        return "NULL"; 
    478480 
    479481    if (tdata->info) 
    480482        return tdata->info; 
    481  
    482     if (tdata==NULL || tdata->msg==NULL) 
    483         return "NULL"; 
    484483 
    485484    pj_lock_acquire(tdata->lock); 
Note: See TracChangeset for help on using the changeset viewer.