Ignore:
Timestamp:
Aug 6, 2013 8:02:24 AM (9 years ago)
Author:
bennylp
Message:

Fixed #1693: Pay attention to reg_hdr_list and sub_hdr_list in pjsua_acc_modify(), and also fixed pjsua_acc_get_config()

File:
1 edited

Legend:

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

    r4537 r4580  
    313313        pjsua_acc_config acc_cfg; 
    314314        pj_bool_t changed = PJ_FALSE; 
    315  
    316         pjsua_acc_get_config(current_acc, &acc_cfg); 
     315        pj_pool_t *tmp_pool = pjsua_pool_create("tmp-pjsua", 1000, 1000); 
     316 
     317        pjsua_acc_get_config(current_acc, tmp_pool, &acc_cfg); 
    317318 
    318319        if (argc == 3 && strcmp(argv[2], "show")==0) { 
     
    335336            changed = PJ_TRUE; 
    336337        } else { 
     338            pj_pool_release(tmp_pool); 
    337339            goto on_error; 
    338340        } 
     
    344346                             current_acc)); 
    345347        } 
     348        pj_pool_release(tmp_pool); 
    346349 
    347350    } else if (strcmp(argv[1], "call")==0) { 
Note: See TracChangeset for help on using the changeset viewer.