Changeset 5486 for pjproject


Ignore:
Timestamp:
Nov 17, 2016 8:09:21 AM (8 years ago)
Author:
ming
Message:

Re #1945 (misc): Revert r5484, unreg_timeout can be zero.

File:
1 edited

Legend:

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

    r5484 r5486  
    436436    pjsua_acc_config_dup(acc->pool, &pjsua_var.acc[id].cfg, cfg); 
    437437     
    438     /* Normalize registration (and unreg) timeout and refresh delay */ 
     438    /* Normalize registration timeout and refresh delay */ 
    439439    if (pjsua_var.acc[id].cfg.reg_uri.slen) { 
    440440        if (pjsua_var.acc[id].cfg.reg_timeout == 0) { 
     
    444444            pjsua_var.acc[id].cfg.reg_delay_before_refresh = 
    445445                PJSIP_REGISTER_CLIENT_DELAY_BEFORE_REFRESH; 
    446         } 
    447         if (pjsua_var.acc[id].cfg.unreg_timeout == 0) { 
    448             pjsua_var.acc[id].cfg.unreg_timeout = PJSUA_UNREG_TIMEOUT; 
    449446        } 
    450447    } 
Note: See TracChangeset for help on using the changeset viewer.