[sr-dev] git:master:9d3499a0: htable: remove additional search for event route block

Daniel-Constantin Mierla miconda at gmail.com
Mon Nov 14 16:30:32 CET 2016


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

Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date: 2016-11-14T16:30:07+01:00

htable: remove additional search for event route block

---

Modified: modules/htable/htable.c

---

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

---

diff --git a/modules/htable/htable.c b/modules/htable/htable.c
index 424a8e7..4b36493 100644
--- a/modules/htable/htable.c
+++ b/modules/htable/htable.c
@@ -272,7 +272,6 @@ static int child_init(int rank)
 			goto done;
 		}
 	}
-	rt = route_get(&event_rt, "htable:mod-init");
 	if(rt>=0 || ht_event_callback.len>0) {
 		LM_DBG("executing event_route[%s] (%d)\n", evname.s, rt);
 		if(faked_msg_init()<0)




More information about the sr-dev mailing list