Changeset 197 for pjproject/trunk/pjsip/src/pjsip/sip_endpoint.c
- Timestamp:
- Feb 19, 2006 1:38:06 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip/src/pjsip/sip_endpoint.c
r184 r197 216 216 /* Done. */ 217 217 218 PJ_LOG(4,(THIS_FILE, "Module \"%.*s\" registered", 219 (int)mod->name.slen, mod->name.ptr)); 220 218 221 on_return: 219 222 pj_rwmutex_unlock_write(endpt->mod_mutex); … … 254 257 } 255 258 259 /* Module MUST NOT set module ID to -1. */ 260 pj_assert(mod->id >= 0); 261 256 262 /* Remove module from array. */ 257 263 endpt->modules[mod->id] = NULL; … … 265 271 /* Done. */ 266 272 status = PJ_SUCCESS; 273 274 PJ_LOG(4,(THIS_FILE, "Module \"%.*s\" unregistered", 275 (int)mod->name.slen, mod->name.ptr)); 267 276 268 277 on_return:
Note: See TracChangeset
for help on using the changeset viewer.