From: Jordan Lee Date: Thu, 3 Jan 2013 23:44:42 +0000 (+0000) Subject: (2.7x, libT) backport r13688/r13722 for #5191 X-Git-Tag: 2.76~20 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=20a96909579ea12c45218f497695897d7c9cf022;p=transmission (2.7x, libT) backport r13688/r13722 for #5191 --- diff --git a/libtransmission/torrent.c b/libtransmission/torrent.c index a8d6976f7..b0f28b213 100644 --- a/libtransmission/torrent.c +++ b/libtransmission/torrent.c @@ -1258,7 +1258,7 @@ tr_torrentStat (tr_torrent * tor) tor->etaDLSpeedCalculatedAt = now; } - if (s->leftUntilDone > s->desiredAvailable) + if ((s->leftUntilDone > s->desiredAvailable) && (tor->info.webseedCount < 1)) s->eta = TR_ETA_NOT_AVAIL; else if (tor->etaDLSpeed_KBps < 1) s->eta = TR_ETA_UNKNOWN;