1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-27 01:57:52 +00:00

(trunk libT) #1698: RunTime Check failure

This commit is contained in:
Charles Kerr 2009-01-14 13:30:51 +00:00
parent 7a91840639
commit 9c5b6e7d15

View file

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