mirror of
https://github.com/transmission/transmission
synced 2024-12-25 01:03:01 +00:00
#671 "torrent queuing" -- fix r12611 oops
This commit is contained in:
parent
cd5b9b16fd
commit
3430ce714c
1 changed files with 1 additions and 1 deletions
|
@ -1534,7 +1534,7 @@ freeTorrent( tr_torrent * tor )
|
|||
|
||||
/* resequence the queue positions */
|
||||
t = NULL;
|
||||
while(( t = tr_torrentNext( session, tor ))) {
|
||||
while(( t = tr_torrentNext( session, t ))) {
|
||||
if( t->queuePosition > tor->queuePosition ) {
|
||||
t->queuePosition--;
|
||||
t->anyDate = now;
|
||||
|
|
Loading…
Reference in a new issue