Changeset 5701 for pjproject/trunk/pjsip/src/pjsua-lib/pjsua_pres.c
- Timestamp:
- Nov 22, 2017 6:59:47 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip/src/pjsua-lib/pjsua_pres.c
r5561 r5701 1578 1578 const pjsip_transaction *tsx = event->body.tsx_state.tsx; 1579 1579 if (pjsip_method_cmp(&tsx->method, 1580 &pjsip_subscribe_method)==0)1580 pjsip_get_subscribe_method())==0) 1581 1581 { 1582 1582 buddy->term_code = tsx->status_code; … … 1597 1597 } 1598 1598 } else if (pjsip_method_cmp(&tsx->method, 1599 &pjsip_notify_method)==0)1599 pjsip_get_notify_method())==0) 1600 1600 { 1601 1601 if (pj_stricmp2(&buddy->term_reason, "deactivated")==0 || … … 2276 2276 pjsip_event_hdr *eh; 2277 2277 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 { 2279 2280 /* Only interested with NOTIFY request */ 2280 2281 return PJ_FALSE;
Note: See TracChangeset
for help on using the changeset viewer.