Ignore:
Timestamp:
Jun 24, 2016 1:03:25 PM (3 years ago)
Author:
nanang
Message:

Fix #1938: Wrong registration renewal flag info in PJSUA registration callback when unregistration fails.

File:
1 edited

Legend:

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

    r5337 r5356  
    23052305        reg_info.cbparam = param; 
    23062306        reg_info.regc = param->regc; 
    2307         reg_info.renew = (rinfo.interval != 0); 
     2307        reg_info.renew = !param->is_unreg; 
    23082308        (*pjsua_var.ua_cfg.cb.on_reg_state2)(acc->index, &reg_info); 
    23092309    } 
Note: See TracChangeset for help on using the changeset viewer.