flushhostcps-init-held-20030328

init held so flushhostcps is more useful.
This commit is contained in:
Daryl Clevenger 2003-03-28 09:21:13 +00:00 committed by Derrick Brashear
parent bdf9ebb4b7
commit 665e86f6fc

View File

@ -499,7 +499,7 @@ h_gethostcps_r(register struct host *host, register afs_int32 now)
void h_flushhostcps(register afs_uint32 hostaddr, register afs_uint32 hport)
{
register struct host *host;
int held;
int held = 0;
H_LOCK
host = h_Lookup_r(hostaddr, hport, &held);