(trunk libT) fix r7336 oops reported by RolCol, m1b, and KyleK

This commit is contained in:
Charles Kerr 2008-12-10 03:44:20 +00:00
parent 7eee937c56
commit 0a63e94096
1 changed files with 1 additions and 1 deletions

View File

@ -303,7 +303,7 @@ tr_bandwidthAllocate( tr_bandwidth * b,
tmp = tr_ptrArrayNew( );
allocateBandwidth( b, dir, period_msec, tmp );
buffers = (struct tr_iobuf**) tr_ptrArrayPeek( b->children, &n );
buffers = (struct tr_iobuf**) tr_ptrArrayPeek( tmp, &n );
/* notify the io buffers in a random order s.t. no
particular peer gets to hog all the bandwidth */