Ignore:
Timestamp:
Oct 6, 2014 4:12:42 AM (10 years ago)
Author:
riza
Message:

Misc (re #1782): Change field name unregWaitSec to unregWaitMsec, as it represents millisecond data. (Thanks to Chris Updegraft for the feedback).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip/src/pjsua2/account.cpp

    r4889 r4939  
    4141    NODE_READ_UNSIGNED  (this_node, delayBeforeRefreshSec); 
    4242    NODE_READ_BOOL      (this_node, dropCallsOnFail); 
    43     NODE_READ_UNSIGNED  (this_node, unregWaitSec); 
     43    NODE_READ_UNSIGNED  (this_node, unregWaitMsec); 
    4444    NODE_READ_UNSIGNED  (this_node, proxyUse); 
    4545 
     
    5858    NODE_WRITE_UNSIGNED (this_node, delayBeforeRefreshSec); 
    5959    NODE_WRITE_BOOL     (this_node, dropCallsOnFail); 
    60     NODE_WRITE_UNSIGNED (this_node, unregWaitSec); 
     60    NODE_WRITE_UNSIGNED (this_node, unregWaitMsec); 
    6161    NODE_WRITE_UNSIGNED (this_node, proxyUse); 
    6262 
     
    321321    ret.reg_delay_before_refresh= regConfig.delayBeforeRefreshSec; 
    322322    ret.drop_calls_on_reg_fail  = regConfig.dropCallsOnFail; 
    323     ret.unreg_timeout           = regConfig.unregWaitSec; 
     323    ret.unreg_timeout           = regConfig.unregWaitMsec; 
    324324    ret.reg_use_proxy           = regConfig.proxyUse; 
    325325    for (i=0; i<regConfig.headers.size(); ++i) { 
     
    448448    regConfig.delayBeforeRefreshSec = prm.reg_delay_before_refresh; 
    449449    regConfig.dropCallsOnFail   = PJ2BOOL(prm.drop_calls_on_reg_fail); 
    450     regConfig.unregWaitSec      = prm.unreg_timeout; 
     450    regConfig.unregWaitMsec     = prm.unreg_timeout; 
    451451    regConfig.proxyUse          = prm.reg_use_proxy; 
    452452    regConfig.headers.clear(); 
Note: See TracChangeset for help on using the changeset viewer.