From b9ff19ba383c8f7e9eb141cca45a93513ef3ed21 Mon Sep 17 00:00:00 2001 From: Mitchell Livingston Date: Tue, 17 Feb 2009 01:42:10 +0000 Subject: [PATCH] a newly-added torrent should always follow the global ratio setting --- libtransmission/torrent.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/libtransmission/torrent.c b/libtransmission/torrent.c index 664c960e0..c7d6ac642 100644 --- a/libtransmission/torrent.c +++ b/libtransmission/torrent.c @@ -594,8 +594,7 @@ torrentRealInit( tr_session * session, if( !( loaded & TR_FR_RATIOLIMIT ) ) { - tr_torrentSetRatioMode( tor, tr_sessionIsRatioLimited( tor-> session ) - ? TR_RATIOLIMIT_GLOBAL : TR_RATIOLIMIT_UNLIMITED ); + tr_torrentSetRatioMode( tor, TR_RATIOLIMIT_GLOBAL ); tr_torrentSetRatioLimit( tor, tr_sessionGetRatioLimit( tor->session ) ); }