From 8f918f1b79795727c3ebf7b479518c56e45ed5b0 Mon Sep 17 00:00:00 2001 From: Jordan Lee Date: Fri, 28 Dec 2012 23:44:59 +0000 Subject: [PATCH] (trunk, libT) #5199 'tr_sessionGetNextQueuedTorrent() can be faster' -- fix variablename typo introduced in r13709, reported by JJTagy --- libtransmission/session.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/libtransmission/session.h b/libtransmission/session.h index 78141accb..d4eb8e3ef 100644 --- a/libtransmission/session.h +++ b/libtransmission/session.h @@ -328,8 +328,10 @@ bool tr_sessionGetActiveSpeedLimit_Bps (const tr_session * session, tr_direction dir, unsigned int * setme); -tr_torrent * tr_sessionGetNextQueuedSeed (tr_session * session); -void tr_sessionGetNextQueuedTorrents (tr_session * session, tr_direction, size_t n, tr_ptrArray * steme); +void tr_sessionGetNextQueuedTorrents (tr_session * session, + tr_direction dir, + size_t numwanted, + tr_ptrArray * setme); int tr_sessionCountQueueFreeSlots (tr_session * session, tr_direction);