1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2025-02-20 21:26:53 +00:00

#5191 'using a webseed doesn't update the remaining time' -- fixed with patch by cfpp2p.

This commit is contained in:
Jordan Lee 2012-12-26 23:34:32 +00:00
parent 94b5e88d36
commit 7081027041

View file

@ -1256,7 +1256,7 @@ tr_torrentStat (tr_torrent * tor)
tor->etaDLSpeedCalculatedAt = now;
}
if (s->leftUntilDone > s->desiredAvailable)
if ((s->leftUntilDone > s->desiredAvailable) && (tor->info.webseedCount < 0))
s->eta = TR_ETA_NOT_AVAIL;
else if (tor->etaDLSpeed_KBps < 1)
s->eta = TR_ETA_UNKNOWN;