#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
1 changed files with 1 additions and 1 deletions

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;