From: Derrick Brashear Date: Thu, 30 Mar 2006 17:27:52 +0000 (+0000) Subject: viced-gethostcps-byte-order-20060328 X-Git-Tag: openafs-devel-1_5_1~47 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=d387dba5efc88b14696b72e6b18cfb1af264be04;p=packages%2Fo%2Fopenafs.git viced-gethostcps-byte-order-20060328 don't call GetHostCPS after swapping away from net byte order --- diff --git a/src/viced/host.c b/src/viced/host.c index bb1f172f4..56af963e2 100644 --- a/src/viced/host.c +++ b/src/viced/host.c @@ -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) { /*