Changeset 3009

Show
Ignore:
Timestamp:
11/10/2009 04:54:11 AM (9 months ago)
Author:
bennylp
Message:

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

Files:
1 modified

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,