Changeset 3604 for pjproject


Ignore:
Timestamp:
Jul 7, 2011 4:35:00 AM (13 years ago)
Author:
bennylp
Message:

Misc (re #1252): prevent assertion caused by bad account when scanning accounts for presence timer update. Thanks Matt DiMeo? for the patch

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/branches/1.x/pjsip/src/pjsua-lib/pjsua_pres.c

    r3553 r3604  
    21762176        pjsua_acc *acc = &pjsua_var.acc[i]; 
    21772177 
     2178        /* Acc may not be ready yet, otherwise assertion will happen */ 
     2179        if (!pjsua_acc_is_valid(i)) 
     2180            continue; 
     2181 
    21782182        /* Retry PUBLISH */ 
    21792183        if (acc->cfg.publish_enabled && acc->publish_sess==NULL) 
Note: See TracChangeset for help on using the changeset viewer.