Ignore:
Timestamp:
Jul 1, 2019 7:12:43 AM (5 years ago)
Author:
ming
Message:

Fixed #2209: Insufficient variable storage to contain Expires header field/ parameter

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip/src/pjsua-lib/pjsua_pres.c

    r5949 r6035  
    980980        uapres->expires = expires_hdr->ivalue; 
    981981    else 
    982         uapres->expires = -1; 
     982        uapres->expires = PJSIP_EXPIRES_NOT_SPECIFIED; 
    983983 
    984984    st_code = (pjsip_status_code)200; 
     
    19081908    pjsip_evsub_set_mod_data(buddy->sub, pjsua_var.mod.id, buddy); 
    19091909 
    1910     status = pjsip_pres_initiate(buddy->sub, -1, &tdata); 
     1910    status = pjsip_pres_initiate(buddy->sub, PJSIP_EXPIRES_NOT_SPECIFIED, 
     1911                                 &tdata); 
    19111912    if (status != PJ_SUCCESS) { 
    19121913        if (buddy->dlg) pjsip_dlg_dec_lock(buddy->dlg); 
Note: See TracChangeset for help on using the changeset viewer.