1
0
Fork 0
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:
Jordan Lee 2011-08-02 14:03:43 +00:00
parent cd5b9b16fd
commit 3430ce714c

View file

@ -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;