Module: sip-router Branch: sr_3.0 Commit: 4ac8656cb483f64e88a2a70996178ffdef85e097 URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=4ac8656c...
Author: Andrei Pelinescu-Onciul andrei@iptel.org Committer: Andrei Pelinescu-Onciul andrei@iptel.org Date: Wed Oct 28 16:11:22 2009 +0100
htable(k): fix non-init act. ctx in event route execution
- the event route was executed with an uninitialized run_act_ctx.
---
modules_k/htable/htable.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/modules_k/htable/htable.c b/modules_k/htable/htable.c index 6291c2b..2d49864 100644 --- a/modules_k/htable/htable.c +++ b/modules_k/htable/htable.c @@ -185,6 +185,7 @@ static int child_init(int rank) fmsg = faked_msg_next(); rtb = get_route_type(); set_route_type(REQUEST_ROUTE); + init_run_actions_ctx(&ctx); run_top_route(event_rt.rlist[rt], fmsg, &ctx); if(ctx.run_flags&DROP_R_F) {