Ignore:
Timestamp:
Mar 6, 2014 1:00:11 AM (8 years ago)
Author:
ming
Message:

Re #1742 (misc): Fixed incorrect checking of require_100rel configuration

File:
1 edited

Legend:

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

    r4729 r4779  
    16461646 
    16471647    /* 100rel extension */ 
    1648     if (acc_cfg->require_100rel) { 
     1648    if (acc_cfg->require_100rel == PJSUA_100REL_MANDATORY) { 
    16491649        pj_strcat2(result, "--use-100rel\n"); 
    16501650    } 
     
    21562156    pj_strcat2(&cfg, "\n#\n# SIP extensions:\n#\n"); 
    21572157    /* 100rel extension */ 
    2158     if (config->cfg.require_100rel) { 
     2158    if (config->cfg.require_100rel == PJSUA_100REL_MANDATORY) { 
    21592159        pj_strcat2(&cfg, "--use-100rel\n"); 
    21602160    } 
Note: See TracChangeset for help on using the changeset viewer.