viced-gethostcps-byte-order-20060328

don't call GetHostCPS after swapping away from net byte order
This commit is contained in:
Derrick Brashear 2006-03-30 17:27:52 +00:00
parent 5b20ed3511
commit d387dba5ef

View File

@ -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) {
/*