1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2025-02-19 04:41:11 +00:00

(trunk, libT) #5199 'tr_sessionGetNextQueuedTorrent() can be faster' -- fix r13709 oops

This commit is contained in:
Jordan Lee 2012-12-28 21:51:10 +00:00
parent aa906ced75
commit 14dca05e21

View file

@ -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)))
{