From 5999fef70a0ff8f9c43789e173fde473cbd4afb0 Mon Sep 17 00:00:00 2001 From: Charles Kerr Date: Sat, 6 Dec 2008 17:01:18 +0000 Subject: [PATCH] (trunk libT) #1569: tr_sessionIsSpeedLimitEnabled() returns wrong value --- libtransmission/session.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libtransmission/session.c b/libtransmission/session.c index 620215bd5..f5664f7ba 100644 --- a/libtransmission/session.c +++ b/libtransmission/session.c @@ -452,7 +452,7 @@ int tr_sessionIsSpeedLimitEnabled( const tr_session * session, tr_direction dir ) { - return !tr_bandwidthIsLimited( session->bandwidth, dir ); + return tr_bandwidthIsLimited( session->bandwidth, dir ); } void