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-apps/src/pjsua/pjsua_app.c

    r6028 r6035  
    10641064        if (h->type == PJSIP_H_CONTACT) { 
    10651065            const pjsip_contact_hdr *c = (const pjsip_contact_hdr*)h; 
    1066             int e = c->expires; 
    1067  
    1068             if (e < 0) { 
     1066            unsigned e = c->expires; 
     1067 
     1068            if (e != PJSIP_EXPIRES_NOT_SPECIFIED) { 
    10691069                if (exp) 
    10701070                    e = exp->ivalue; 
Note: See TracChangeset for help on using the changeset viewer.