[sr-dev] git:master:00cde821: modules/ims_usrloc_scscf: fix synchronize argument count

jaybeepee jason.penton at gmail.com
Wed Mar 9 10:09:29 CET 2016


Module: kamailio
Branch: master
Commit: 00cde82125a2271171fe4c25cba09f2147888206
URL: https://github.com/kamailio/kamailio/commit/00cde82125a2271171fe4c25cba09f2147888206

Author: jaybeepee <jason.penton at gmail.com>
Committer: jaybeepee <jason.penton at gmail.com>
Date: 2016-03-09T11:09:20+02:00

modules/ims_usrloc_scscf: fix synchronize argument count

---

Modified: modules/ims_usrloc_scscf/ul_mod.c

---

Diff:  https://github.com/kamailio/kamailio/commit/00cde82125a2271171fe4c25cba09f2147888206.diff
Patch: https://github.com/kamailio/kamailio/commit/00cde82125a2271171fe4c25cba09f2147888206.patch

---

diff --git a/modules/ims_usrloc_scscf/ul_mod.c b/modules/ims_usrloc_scscf/ul_mod.c
index 8d77de0..d416264 100644
--- a/modules/ims_usrloc_scscf/ul_mod.c
+++ b/modules/ims_usrloc_scscf/ul_mod.c
@@ -467,7 +467,7 @@ static void destroy(void) {
 
 	if (ul_dbh) {
 		ul_unlock_locks();
-		if (synchronize_all_udomains() != 0) {
+		if (synchronize_all_udomains(0, 1) != 0) {
 			LM_ERR("flushing cache failed\n");
 		}
 		ul_dbf.close(ul_dbh);
@@ -477,7 +477,6 @@ static void destroy(void) {
 	ul_destroy_locks();
 	subs_destroy_locks();
 	destroy_contacts_locks();
-
 	/* free callbacks list */
 	destroy_ulcb_list();
 }




More information about the sr-dev mailing list