| # | Line 499 | Line 499 | progReporter(double pct) | |
|---|---|---|
| 499 | static time_t lastReportTime = 0; | |
| 500 | time_t tnow = time(NULL); | |
| 501 | ||
| 502 | < | if (tnow - lastReportTime < ralrm) |
| 502 | > | if (pct < 100.-FTINY && tnow - lastReportTime < ralrm) |
| 503 | return; // too soon, my Precious... | |
| 504 | ||
| 505 | sprintf(errmsg, "%7.3f%% done after %7.3f hours\n", pct, (tnow-tstart)/3600.); | |
| – | Removed lines |
| + | Added lines |
| < | Changed lines (old) |
| > | Changed lines (new) |