Changeset 1371


Ignore:
Timestamp:
Jun 19, 2007 12:35:37 AM (12 years ago)
Author:
bennylp
Message:

Added assertion in pjsua when no account is configured

File:
1 edited

Legend:

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

    r1353 r1371  
    862862    unsigned i; 
    863863 
     864    /* Check that there's at least one account configured */ 
     865    PJ_ASSERT_RETURN(pjsua_var.acc_cnt!=0, pjsua_var.default_acc); 
     866 
    864867    uri = rdata->msg_info.to->uri; 
    865868 
Note: See TracChangeset for help on using the changeset viewer.