mirror of
https://git.openafs.org/openafs.git
synced 2025-01-20 16:00:12 +00:00
viced-gethostcps-byte-order-20060328
don't call GetHostCPS after swapping away from net byte order
This commit is contained in:
parent
5b20ed3511
commit
d387dba5ef
@ -464,7 +464,7 @@ h_gethostcps_r(register struct host *host, register afs_int32 now)
|
||||
host->cpsCall = slept ? (FT_ApproxTime()) : (now);
|
||||
|
||||
H_UNLOCK;
|
||||
code = pr_GetHostCPS(host->host, &host->hcps);
|
||||
code = pr_GetHostCPS(ntohl(host->host), &host->hcps);
|
||||
H_LOCK;
|
||||
if (code) {
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user