mirror of
https://git.openafs.org/openafs.git
synced 2025-02-01 05:57:43 +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);
|
host->cpsCall = slept ? (FT_ApproxTime()) : (now);
|
||||||
|
|
||||||
H_UNLOCK;
|
H_UNLOCK;
|
||||||
code = pr_GetHostCPS(host->host, &host->hcps);
|
code = pr_GetHostCPS(ntohl(host->host), &host->hcps);
|
||||||
H_LOCK;
|
H_LOCK;
|
||||||
if (code) {
|
if (code) {
|
||||||
/*
|
/*
|
||||||
|
Loading…
x
Reference in New Issue
Block a user