Ignore:
Timestamp:
Nov 22, 2017 6:59:47 AM (2 years ago)
Author:
riza
Message:

Close #2067: Fix linker error when building as dll on VS2015.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip/src/pjsip-ua/sip_timer.c

    r5576 r5701  
    7171}; 
    7272 
    73 /* External global vars */ 
    74 extern pj_bool_t pjsip_use_compact_form; 
    75  
    7673/* Local functions & vars */ 
    7774static void stop_timer(pjsip_inv_session *inv); 
     
    125122    pj_ssize_t printed; 
    126123    const pjsip_parser_const_t *pc = pjsip_parser_const(); 
    127     const pj_str_t *hname = pjsip_use_compact_form? &hdr->sname : &hdr->name; 
     124    const pj_str_t *hname = pjsip_cfg()->endpt.use_compact_form?  
     125                            &hdr->sname : &hdr->name; 
    128126 
    129127    /* Print header name and value */ 
Note: See TracChangeset for help on using the changeset viewer.