mirror of
https://github.com/transmission/transmission
synced 2024-12-27 18:18:10 +00:00
(trunk libT) #1698: RunTime Check failure
This commit is contained in:
parent
7a91840639
commit
9c5b6e7d15
1 changed files with 1 additions and 1 deletions
|
@ -1402,7 +1402,7 @@ tr_sessionSetProxyPassword( tr_session * session,
|
||||||
int
|
int
|
||||||
tr_sessionGetActiveTorrentCount( tr_session * session )
|
tr_sessionGetActiveTorrentCount( tr_session * session )
|
||||||
{
|
{
|
||||||
int ret;
|
int ret = 0;
|
||||||
tr_torrent * tor = NULL;
|
tr_torrent * tor = NULL;
|
||||||
|
|
||||||
while(( tor = tr_torrentNext( session, tor )))
|
while(( tor = tr_torrentNext( session, tor )))
|
||||||
|
|
Loading…
Reference in a new issue