fix accidentally noop loop

Credit goes to Roland Paterson-Jones
for spotting this bug.
This commit is contained in:
Quentin Carbonneaux 2024-04-04 21:56:50 +02:00
parent de5ced474d
commit dc3f7d7c4a

View file

@ -920,7 +920,7 @@ parsefn(Lnk *lnk)
curf->nmem = 0;
curf->nblk = nblk;
curf->rpo = 0;
for (b=0; b; b=b->link)
for (b=curf->start; b; b=b->link)
b->dlink = 0; /* was trashed by findblk() */
for (i=0; i<BMask+1; ++i)
blkh[i] = 0;