mirror of
https://github.com/transmission/transmission
synced 2025-03-12 07:03:44 +00:00
(trunk libT) fix r7336 oops reported by RolCol, m1b, and KyleK
This commit is contained in:
parent
7eee937c56
commit
0a63e94096
1 changed files with 1 additions and 1 deletions
|
@ -303,7 +303,7 @@ tr_bandwidthAllocate( tr_bandwidth * b,
|
||||||
|
|
||||||
tmp = tr_ptrArrayNew( );
|
tmp = tr_ptrArrayNew( );
|
||||||
allocateBandwidth( b, dir, period_msec, tmp );
|
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
|
/* notify the io buffers in a random order s.t. no
|
||||||
particular peer gets to hog all the bandwidth */
|
particular peer gets to hog all the bandwidth */
|
||||||
|
|
Loading…
Add table
Reference in a new issue