Corrected html update counter

This commit is contained in:
Michiel Broek 2005-08-27 15:22:38 +00:00
parent 03ae74611b
commit a7fbf0de1e

View File

@ -657,6 +657,7 @@ void HtmlIndex(char *Lang)
fa = newpage(area.Path, area.Name, later, inArea, aTotal, fb); fa = newpage(area.Path, area.Name, later, inArea, aTotal, fb);
fileptr1 = gfilepos; fileptr1 = gfilepos;
} }
aUpdate++;
while (fread(&fdb, fdbhdr.recsize, 1, fdb_area->fp) == 1) { while (fread(&fdb, fdbhdr.recsize, 1, fdb_area->fp) == 1) {
if (!fdb.Deleted) { if (!fdb.Deleted) {
@ -666,7 +667,6 @@ void HtmlIndex(char *Lang)
x++; x++;
TotalHtml++; TotalHtml++;
aTotal++; aTotal++;
aUpdate++;
if (CFG.slow_util && do_quiet && ((x % 3) == 0)) if (CFG.slow_util && do_quiet && ((x % 3) == 0))
msleep(1); msleep(1);