Changeset 1332


Ignore:
Timestamp:
Jun 1, 2007 7:25:30 AM (12 years ago)
Author:
bennylp
Message:

Added assertion in regc to check if application has called pjsip_regc_destroy() while transaction was in progress

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip/src/pjsip-ua/sip_reg.c

    r1266 r1332  
    652652        pj_int32_t expiration = 0xFFFF; 
    653653 
     654        /* User must not destroy the regc while transaction was in 
     655         * progress 
     656         */ 
     657        pj_assert(regc->_delete_flag == 0); 
     658 
    654659        if (tsx->status_code/100 == 2) { 
    655660            int i; 
Note: See TracChangeset for help on using the changeset viewer.