[Pkg-voip-commits] r2719 - yxa/trunk/debian/patches

Mikael Magnusson mikma-guest at alioth.debian.org
Mon Nov 20 15:57:01 CET 2006


Author: mikma-guest
Date: 2006-11-20 15:57:01 +0100 (Mon, 20 Nov 2006)
New Revision: 2719

Added:
   yxa/trunk/debian/patches/process_branch_result.dpatch
Modified:
   yxa/trunk/debian/patches/00list
Log:
Fix bug in process_branch_result, fixed in r1462 by upstream.


Modified: yxa/trunk/debian/patches/00list
===================================================================
--- yxa/trunk/debian/patches/00list	2006-11-20 10:47:01 UTC (rev 2718)
+++ yxa/trunk/debian/patches/00list	2006-11-20 14:57:01 UTC (rev 2719)
@@ -2,5 +2,6 @@
 #erlang-otp-rel
 inet_dns
 net_util
+process_branch_result
 yxa_yaws_makefile
 yxa_yaws

Added: yxa/trunk/debian/patches/process_branch_result.dpatch
===================================================================
--- yxa/trunk/debian/patches/process_branch_result.dpatch	2006-11-20 10:47:01 UTC (rev 2718)
+++ yxa/trunk/debian/patches/process_branch_result.dpatch	2006-11-20 14:57:01 UTC (rev 2719)
@@ -0,0 +1,20 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## process_branch_result.dpatch by  <mikma at users.sourceforge.net>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: Fix bug in process_branch_result, fixed in r1462 by upstream.
+
+ at DPATCH@
+diff -urNad yxa-0.91+20060922~/src/sipproxy.erl yxa-0.91+20060922/src/sipproxy.erl
+--- yxa-0.91+20060922~/src/sipproxy.erl	2006-06-13 12:04:00.000000000 +0200
++++ yxa-0.91+20060922/src/sipproxy.erl	2006-10-07 22:28:24.000000000 +0200
+@@ -985,7 +985,8 @@
+ 	    NewTarget1 = targetlist:set_state(ThisTarget, NewTState),
+ 	    NewTarget2 = targetlist:set_endresult(NewTarget1, SPResponse),	% XXX only do this for final responses?
+ 	    NewTargets1 = targetlist:update_target(NewTarget2, Targets),
+-	    NewState2 = try_next_destination(Status, ThisTarget, NewTargets1, State),
++	    NewState1 = State#state{targets=NewTargets1},
++	    NewState2 = try_next_destination(Status, ThisTarget, NewTargets1, NewState1),
+ 	    case (OldTState == NewTState) of
+ 		true ->
+ 		    ok;	%% No change, don't have to log verbose things


Property changes on: yxa/trunk/debian/patches/process_branch_result.dpatch
___________________________________________________________________
Name: svn:executable
   + *




More information about the Pkg-voip-commits mailing list