"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "modules/b2b_logic/entity_storage.c" between
opensips-3.2.0-rc1.tar.gz and opensips-3.2.0.tar.gz

About: OpenSIPS is a multi-functional, multi-purpose signaling SIP Server (Session Initiation Protocol). It can act as SIP Router/Switch, SIP Registrar, Application Server, Redirect Server, Load Balancer / Dispatcher, Back-to-Back User Agent, Presence Server, IM Server, Session Border Controller, SIP Front-End, NAT traversal Server, IP Gateway (SMS, XMPP) and others.

entity_storage.c  (opensips-3.2.0-rc1):entity_storage.c  (opensips-3.2.0)
skipping to change at line 415 skipping to change at line 415
b2bl_db_insert(tuple); b2bl_db_insert(tuple);
} else { } else {
if (old_tuple) if (old_tuple)
UPDATE_DBFLAG(tuple); UPDATE_DBFLAG(tuple);
} }
lock_release(&b2bl_htable[hash_index].lock); lock_release(&b2bl_htable[hash_index].lock);
return; return;
error: error:
lock_release(&b2bl_htable[hash_index].lock);
if (tuple && !old_tuple) if (tuple && !old_tuple)
b2bl_delete(tuple, hash_index, 0, 0); b2bl_delete(tuple, hash_index, 0, 0);
lock_release(&b2bl_htable[hash_index].lock);
if (entity) { if (entity) {
if (entity->dlginfo) if (entity->dlginfo)
shm_free(entity->dlginfo); shm_free(entity->dlginfo);
shm_free(entity); shm_free(entity);
} }
LM_ERR("Failed to process received entity [%.*s]\n", LM_ERR("Failed to process received entity [%.*s]\n",
entity_key->len, entity_key->s); entity_key->len, entity_key->s);
} }
static void receive_entity_update(enum b2b_entity_type entity_type, static void receive_entity_update(enum b2b_entity_type entity_type,
 End of changes. 2 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)