Changeset 3009 for pjproject


Ignore:
Timestamp:
Nov 10, 2009 10:54:11 AM (14 years ago)
Author:
bennylp
Message:

Fixed for #937 (presence enhancements): handle case where event argument is NULL

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip/src/pjsua-lib/pjsua_pres.c

    r2968 r3009  
    14571457 
    14581458            /* Determine whether to resubscribe automatically */ 
    1459             if (event->type==PJSIP_EVENT_TSX_STATE) { 
     1459            if (event && event->type==PJSIP_EVENT_TSX_STATE) { 
    14601460                const pjsip_transaction *tsx = event->body.tsx_state.tsx; 
    14611461                if (pjsip_method_cmp(&tsx->method,  
Note: See TracChangeset for help on using the changeset viewer.