Changeset 376:fbddc7ec1b9d in verona for phapi/phapi.c


Ignore:
Timestamp:
Nov 23, 2011 6:40:24 PM (18 months ago)
Author:
Vadim Lebedev <vadim@…>
Branch:
default
Message:

fix handling of Contact.expires parameter

File:
1 edited

Legend:

Unmodified
Added
Removed
  • phapi/phapi.c

    r372 r376  
    32093209        if (vl) { 
    32103210                vl->regTimeout = regTimeout; 
     3211                eXosip_register_update_timeout(vl->rid, regTimeout); 
    32113212                return 0; 
    32123213        } 
     
    63156316                int expires = ph_find_expires_for_vl(vlid, je->response); 
    63166317 
    6317                 if (expires) 
     6318                if (expires) { 
    63186319                        vl->regTimeout = expires; 
     6320                        eXosip_register_update_timeout(vl->rid, expires); 
     6321                } 
    63196322 
    63206323                phcb->regProgress(vlid, 0 | mask); 
     
    63376340                        { 
    63386341                                vl->regTimeout = newtimeout = atoi(hdr->hvalue); 
     6342                                eXosip_register_update_timeout(vl->rid, newtimeout); 
    63396343                        } 
    63406344                } 
Note: See TracChangeset for help on using the changeset viewer.