Ignore:
Timestamp:
Feb 7, 2006 12:34:11 PM (18 years ago)
Author:
bennylp
Message:

Initial implementation of invite session abstraction, and updated pjsua for the new framework

File:
1 edited

Legend:

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

    r127 r139  
    311311        default: 
    312312            return PJ_EINVAL; 
     313        } 
     314 
     315        if (hdr) { 
     316            pj_list_push_back(&endpt->cap_hdr, hdr); 
    313317        } 
    314318    } 
     
    756760 
    757761    pj_rwmutex_unlock_read(endpt->mod_mutex); 
     762 
     763    /* Must clear mod_data before returning rdata to transport, since 
     764     * rdata may be reused. 
     765     */ 
     766    pj_memset(&rdata->endpt_info, 0, sizeof(rdata->endpt_info)); 
    758767} 
    759768 
Note: See TracChangeset for help on using the changeset viewer.