Ignore:
Timestamp:
Nov 22, 2017 6:59:47 AM (6 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/pjsua-lib/pjsua_pres.c

    r5561 r5701  
    15781578                const pjsip_transaction *tsx = event->body.tsx_state.tsx; 
    15791579                if (pjsip_method_cmp(&tsx->method,  
    1580                                      &pjsip_subscribe_method)==0) 
     1580                                     pjsip_get_subscribe_method())==0) 
    15811581                { 
    15821582                    buddy->term_code = tsx->status_code; 
     
    15971597                    } 
    15981598                } else if (pjsip_method_cmp(&tsx->method, 
    1599                                             &pjsip_notify_method)==0) 
     1599                                            pjsip_get_notify_method())==0) 
    16001600                { 
    16011601                    if (pj_stricmp2(&buddy->term_reason, "deactivated")==0 || 
     
    22762276    pjsip_event_hdr *eh; 
    22772277 
    2278     if (pjsip_method_cmp(&msg->line.req.method, &pjsip_notify_method)!=0) { 
     2278    if (pjsip_method_cmp(&msg->line.req.method, pjsip_get_notify_method())!=0)  
     2279    { 
    22792280        /* Only interested with NOTIFY request */ 
    22802281        return PJ_FALSE; 
Note: See TracChangeset for help on using the changeset viewer.