From bd6aaf9a12f5d3698cdc766a12651739be2738df Mon Sep 17 00:00:00 2001 From: Jordan Lee Date: Sun, 17 Jul 2011 18:11:34 +0000 Subject: [PATCH] (trunk libT) remove trailing spaces from a couple of lines of code --- libtransmission/peer-msgs.c | 3 +-- libtransmission/webseed.c | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/libtransmission/peer-msgs.c b/libtransmission/peer-msgs.c index 09ac0b20c..41196061a 100644 --- a/libtransmission/peer-msgs.c +++ b/libtransmission/peer-msgs.c @@ -1663,9 +1663,8 @@ updateDesiredRequestCount( tr_peermsgs * msgs ) { const tr_torrent * const torrent = msgs->torrent; - /* there are lots of reasons we might not want to request any blocks... */ - if( tr_torrentIsSeed( torrent ) || !tr_torrentHasMetadata( torrent ) + if( tr_torrentIsSeed( torrent ) || !tr_torrentHasMetadata( torrent ) || msgs->peer->clientIsChoked || !msgs->peer->clientIsInterested ) { diff --git a/libtransmission/webseed.c b/libtransmission/webseed.c index 4e4c74e71..0cc872d9b 100644 --- a/libtransmission/webseed.c +++ b/libtransmission/webseed.c @@ -222,7 +222,7 @@ connection_succeeded( void * vinf ) /* the server seems to be accepting more connections now */ w->consecutive_failures = w->retry_tickcount = w->retry_challenge = 0; - if( inf->redirect_url && + if( inf->redirect_url && (tor = tr_torrentFindFromId( w->session, w->torrent_id ))) { uint64_t file_offset;