Ignore:
Timestamp:
Jul 10, 2006 2:40:21 PM (18 years ago)
Author:
bennylp
Message:

Fixed bug in PJSUA API re: account selection and Contact header for accounts

File:
1 edited

Legend:

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

    r582 r597  
    468468                return PJ_EINVAL; 
    469469            } 
    470             cur_acc->contact = pj_str(pj_optarg); 
     470            cur_acc->force_contact = pj_str(pj_optarg); 
    471471            break; 
    472472 
     
    715715 
    716716    /* Contact */ 
    717     if (acc_cfg->contact.slen) { 
     717    if (acc_cfg->force_contact.slen) { 
    718718        pj_ansi_sprintf(line, "--contact %.*s\n",  
    719                         (int)acc_cfg->contact.slen,  
    720                         acc_cfg->contact.ptr); 
     719                        (int)acc_cfg->force_contact.slen,  
     720                        acc_cfg->force_contact.ptr); 
    721721        pj_strcat2(result, line); 
    722722    } 
Note: See TracChangeset for help on using the changeset viewer.