Changeset 1566 for pjproject/trunk
- Timestamp:
- Nov 9, 2007 2:56:29 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip/src/pjsip/sip_parser.c
r1540 r1566 86 86 * Global vars (also extern). 87 87 */ 88 int PJSIP_SYN_ERR_EXCEPTION ;88 int PJSIP_SYN_ERR_EXCEPTION = -1; 89 89 90 90 /* Parser constants */ … … 277 277 * Syntax error exception number. 278 278 */ 279 pj_assert (PJSIP_SYN_ERR_EXCEPTION == -1); 279 280 status = pj_exception_id_alloc("PJSIP syntax error", 280 281 &PJSIP_SYN_ERR_EXCEPTION); … … 483 484 pj_bzero(uri_handler, sizeof(uri_handler)); 484 485 uri_handler_count = 0; 486 487 /* Deregister exception ID */ 488 pj_exception_id_free(PJSIP_SYN_ERR_EXCEPTION); 489 PJSIP_SYN_ERR_EXCEPTION = -1; 485 490 } 486 491 pj_leave_critical_section();
Note: See TracChangeset
for help on using the changeset viewer.