diff options
author | Marcus Brinkmann <marcus@gnu.org> | 2000-12-01 19:16:02 +0000 |
---|---|---|
committer | Marcus Brinkmann <marcus@gnu.org> | 2000-12-01 19:16:02 +0000 |
commit | bc24c150ec245be8e0b11ca08d11675870d7544f (patch) | |
tree | e7ad0e3f00bff37813a89f3c69fb81506e2e2f58 /bsdfsck/pass1.c | |
parent | 603872c61f08c8d86bea2732d2cbf2ac56f25cb3 (diff) |
2000-12-01 Marcus Brinkmann <marcus@gnu.org>
* cache.c (scan_creds): Move I inside for-statement.
Replace inner for-loop with a while-loop. New variable
NEXT_I set to I->NEXT, because we might free I.
Set I to NEXT_I at end of while block.
Move update of leastidlastuse inside if block, because
otherwise we will constantly prevent ourself from scanning.
(scan_fhs): Very much the same.
(scan_replies): Likewise. Also free CR.
(check_cached_reply): Make HASH value absolute (as XID can be
negative, and thus the modulus).
Initialize REFERENCES to 1.
Diffstat (limited to 'bsdfsck/pass1.c')
0 files changed, 0 insertions, 0 deletions