[asterisk-commits] tilghman: branch 1.2 r133360 - /branches/1.2/channels/chan_iax2.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Wed Jul 23 22:46:02 CDT 2008


Author: tilghman
Date: Wed Jul 23 22:46:01 2008
New Revision: 133360

URL: http://svn.digium.com/view/asterisk?view=rev&rev=133360
Log:
This part was not correctly patched for AST-2008-010.

Modified:
    branches/1.2/channels/chan_iax2.c

Modified: branches/1.2/channels/chan_iax2.c
URL: http://svn.digium.com/view/asterisk/branches/1.2/channels/chan_iax2.c?view=diff&rev=133360&r1=133359&r2=133360
==============================================================================
--- branches/1.2/channels/chan_iax2.c (original)
+++ branches/1.2/channels/chan_iax2.c Wed Jul 23 22:46:01 2008
@@ -1318,10 +1318,10 @@
 
 		gettimeofday(&now, NULL);
 
-		start = 1 + (rand() % (TRUNK_CALL_START - 1));
+		start = 2 + (rand() % (TRUNK_CALL_START - 1));
 		for (x = start; 1; x++) {
 			if (x == TRUNK_CALL_START) {
-				x = 0;
+				x = 1;
 				continue;
 			}
 




More information about the asterisk-commits mailing list