From 3430ce714c759634c46b9f40a13d739392f4a631 Mon Sep 17 00:00:00 2001 From: Jordan Lee Date: Tue, 2 Aug 2011 14:03:43 +0000 Subject: [PATCH] #671 "torrent queuing" -- fix r12611 oops --- libtransmission/torrent.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libtransmission/torrent.c b/libtransmission/torrent.c index 321f885b3..db5566ff7 100644 --- a/libtransmission/torrent.c +++ b/libtransmission/torrent.c @@ -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;