diff --git a/libtransmission/torrent.c b/libtransmission/torrent.c index 12871d5ed..0ba1f131a 100644 --- a/libtransmission/torrent.c +++ b/libtransmission/torrent.c @@ -741,7 +741,7 @@ tr_torrentStat( tr_torrent * tor ) s->haveUnchecked = tr_cpHaveTotal( tor->completion ) - s->haveValid; - if( !s->leftUntilDone ) + if( !s->leftUntilDone || !tor->isRunning || !s->peersConnected ) s->desiredAvailable = 0; else { tr_piece_index_t i;