Changeset 3455 for pjproject/trunk/pjsip/src/pjsip/sip_endpoint.c
- Timestamp:
- Mar 16, 2011 7:34:16 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip/src/pjsip/sip_endpoint.c
r3106 r3455 118 118 119 119 120 /* Specifies whether error subsystem has been registered to pjlib. */121 static int error_subsys_initialized;122 123 120 /* 124 121 * This is the global handler for memory allocation failure, for pools that … … 426 423 427 424 428 if (!error_subsys_initialized) { 429 pj_register_strerror(PJSIP_ERRNO_START, PJ_ERRNO_SPACE_SIZE, 430 &pjsip_strerror); 431 error_subsys_initialized = 1; 432 } 425 status = pj_register_strerror(PJSIP_ERRNO_START, PJ_ERRNO_SPACE_SIZE, 426 &pjsip_strerror); 427 pj_assert(status == PJ_SUCCESS); 433 428 434 429 PJ_LOG(5, (THIS_FILE, "Creating endpoint instance..."));
Note: See TracChangeset
for help on using the changeset viewer.