(trunk, libT) #5199 'tr_sessionGetNextQueuedTorrent() can be faster' -- fix r13709 oops
This commit is contained in:
parent
aa906ced75
commit
14dca05e21
|
@ -2753,6 +2753,7 @@ tr_sessionGetNextQueuedTorrents (tr_session * session,
|
|||
|
||||
/* build an array of the candidates */
|
||||
candidates = tr_new (struct TorrentAndPosition, session->torrentCount);
|
||||
i = 0;
|
||||
tor = NULL;
|
||||
while ((tor = tr_torrentNext (session, tor)))
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue