Changeset 3542 for pjproject


Ignore:
Timestamp:
Apr 25, 2011 11:47:45 AM (14 years ago)
Author:
bennylp
Message:

Fixed #1245: Assertion may be raised if iPhone app woken up to perform registration and the server is down (thanks Alejandro Orellana for the report)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip/src/pjsip-ua/sip_reg.c

    r3444 r3542  
    11551155        pjsip_contact_hdr *contact[PJSIP_REGC_MAX_CONTACT]; 
    11561156 
     1157        /* Mark operation as complete */ 
     1158        regc->current_op = REGC_IDLE; 
     1159 
    11571160        if (tsx->status_code/100 == 2) { 
    11581161 
     
    11641167                                                       PJSIP_REGC_MAX_CONTACT, 
    11651168                                                       contact); 
    1166  
    1167             /* Mark operation as complete */ 
    1168             regc->current_op = REGC_IDLE; 
    11691169 
    11701170            /* Schedule next registration */ 
Note: See TracChangeset for help on using the changeset viewer.