[sr-dev] git:sr_3.0: core: re-initialize branch 0 flags for each new message

Andrei Pelinescu-Onciul andrei at iptel.org
Sat Oct 31 07:43:16 CET 2009


Module: sip-router
Branch: sr_3.0
Commit: c6dd54e8500b131a9dd53593afe009976ff3927f
URL:    http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=c6dd54e8500b131a9dd53593afe009976ff3927f

Author: Andrei Pelinescu-Onciul <andrei at iptel.org>
Committer: Andrei Pelinescu-Onciul <andrei at iptel.org>
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

---

 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;
 }
 
 




More information about the sr-dev mailing list