Module: sip-router
Branch: kamailio_3.0
Commit: a903310918e975c6f53f99e4d42c988baac28fae
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=a903310…
Author: Andrei Pelinescu-Onciul <andrei(a)iptel.org>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: Sat Oct 31 07:44:03 2009 +0100
core: re-initialize branch 0 flags for each new message
Fixes branch 0 flags being "remembered" from previous script
invocations.
Reported-by: Juha Heinanen jh at tutpro com
(cherry picked from commit c6dd54e8500b131a9dd53593afe009976ff3927f)
---
dset.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/dset.c b/dset.c
index 5cc1b9f..08b67ba 100644
--- a/dset.c
+++ b/dset.c
@@ -231,6 +231,7 @@ void clear_branches(void)
{
nr_branches = 0;
ruri_q = Q_UNSPECIFIED;
+ ruri_bflags = 0;
}