[sr-dev] git:master:f567695d: p_usrloc: remove unnecessary increment

Lucian Balaceanu lucian.balaceanu at 1and1.ro
Thu Aug 3 09:29:49 CEST 2017


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

Author: Lucian Balaceanu <lucian.balaceanu at 1and1.ro>
Committer: Lucian Balaceanu <lucian.balaceanu at 1and1.ro>
Date: 2017-08-03T10:28:28+03:00

p_usrloc: remove unnecessary increment

---

Modified: src/modules/p_usrloc/ul_db_watch.c

---

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

---

diff --git a/src/modules/p_usrloc/ul_db_watch.c b/src/modules/p_usrloc/ul_db_watch.c
index 903abb0b39..d736f942c9 100644
--- a/src/modules/p_usrloc/ul_db_watch.c
+++ b/src/modules/p_usrloc/ul_db_watch.c
@@ -145,7 +145,6 @@ void check_dbs(unsigned int ticks, void *param){
 			ul_db_check(handles->handle);
 		}
 		tmp = tmp->next;
-		i++;
 	}
 	lock_release(list_lock);
 }




More information about the sr-dev mailing list