Module: sip-router
Branch: master
Commit: 763a138ce92010fadab58972a52bfc02572f7dc8
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=763a138…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: Tue May 19 20:09:16 2009 +0300
htable: check if event route is defined and has a list of actions
- adding in the to-do list for event_route
- check if the event is exported by core or modules
---
modules_k/htable/htable.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/modules_k/htable/htable.c b/modules_k/htable/htable.c
index bf5cbcf..9cc77b4 100644
--- a/modules_k/htable/htable.c
+++ b/modules_k/htable/htable.c
@@ -174,7 +174,7 @@ static int child_init(int rank)
return 0;
rt = route_get(&event_rt, "htable:mod-init");
- if(rt>=0) {
+ if(rt>=0 && event_rt.rlist[rt]!=NULL) {
LM_DBG("executing event_route[htable:mod-init] (%d)\n", rt);
if(faked_msg_init()<0)
return -1;