Ignore:
Timestamp:
Jun 22, 2016 3:42:32 AM (3 years ago)
Author:
nanang
Message:

Fix #1936: Reset 'regc->has_tsx' when the sending fails.

File:
1 edited

Legend:

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

    r5352 r5353  
    14331433                                      regc, &regc_tsx_callback); 
    14341434    if (status!=PJ_SUCCESS) { 
     1435        /* On failure, regc_tsx_callback() may not be called, so we need 
     1436         * to reset regc->has_tsx here (see also ticket #1936). 
     1437         */ 
     1438        regc->has_tsx = PJ_FALSE; 
     1439 
    14351440        PJ_LOG(4,(THIS_FILE, "Error sending request, status=%d", status)); 
    14361441    } 
Note: See TracChangeset for help on using the changeset viewer.