#671 "torrent queuing" -- fix r12611 oops
This commit is contained in:
parent
cd5b9b16fd
commit
3430ce714c
|
@ -1534,7 +1534,7 @@ freeTorrent( tr_torrent * tor )
|
||||||
|
|
||||||
/* resequence the queue positions */
|
/* resequence the queue positions */
|
||||||
t = NULL;
|
t = NULL;
|
||||||
while(( t = tr_torrentNext( session, tor ))) {
|
while(( t = tr_torrentNext( session, t ))) {
|
||||||
if( t->queuePosition > tor->queuePosition ) {
|
if( t->queuePosition > tor->queuePosition ) {
|
||||||
t->queuePosition--;
|
t->queuePosition--;
|
||||||
t->anyDate = now;
|
t->anyDate = now;
|
||||||
|
|
Loading…
Reference in New Issue