Ignore:
Timestamp:
May 28, 2013 12:03:36 PM (9 years ago)
Author:
riza
Message:

Re #1643: Restore configuration reset with added modification on app destroy. It was deleted from code to enable cli retain config values when restarted

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip-apps/src/pjsua/pjsua_app_config.c

    r4522 r4525  
    14551455    for (i=0; i<PJ_ARRAY_SIZE(cfg->buddy_cfg); ++i) 
    14561456        pjsua_buddy_config_default(&cfg->buddy_cfg[i]); 
    1457  
    1458     cfg->buddy_cnt = 0; 
     1457     
    14591458    cfg->vid.vcapture_dev = PJMEDIA_VID_DEFAULT_CAPTURE_DEV; 
    14601459    cfg->vid.vrender_dev = PJMEDIA_VID_DEFAULT_RENDER_DEV; 
     
    14731472 
    14741473    /* Initialize default config */ 
    1475     default_config(app_config); 
     1474    default_config(); 
    14761475 
    14771476    /* Parse the arguments */ 
     
    14811480 
    14821481pj_status_t load_config(int argc, 
    1483                                 char **argv, 
    1484                                 pj_str_t *uri_arg) 
     1482                        char **argv, 
     1483                        pj_str_t *uri_arg) 
    14851484{ 
    14861485    pj_status_t status; 
Note: See TracChangeset for help on using the changeset viewer.