git:sr_3.0: core: re-initialize branch 0 flags for each new message

1 message Options
Embed this post
Permalink
Andrei Pelinescu-Onciul

git:sr_3.0: core: re-initialize branch 0 flags for each new message

Reply Threaded More More options
Print post
Permalink
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 <[hidden email]>
Committer: Andrei Pelinescu-Onciul <[hidden email]>
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;
 }
 
 


_______________________________________________
sr-dev mailing list
[hidden email]
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev