This part was not correctly patched for AST-2008-010.

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@133360 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Tilghman Lesher
2008-07-24 03:46:01 +00:00
parent 27290e8976
commit 703220f1f4
+2 -2
View File
@@ -1318,10 +1318,10 @@ static int find_callno(unsigned short callno, unsigned short dcallno, struct soc
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;
}