From: Derrick Brashear Date: Wed, 29 Mar 2006 05:16:36 +0000 (+0000) Subject: STABLE14-viced-gethostcps-byte-order-20060328 X-Git-Tag: openafs-stable-1_4_1~21 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=331c83c3cc36aa555c6d2862990d405b959a1174;p=packages%2Fo%2Fopenafs.git STABLE14-viced-gethostcps-byte-order-20060328 don't call GetHostCPS after swapping away from net byte order (cherry picked from commit 1904db3fa3a0765f63ae4ecac23a8464818f1e9c) --- diff --git a/src/viced/host.c b/src/viced/host.c index 216ee83d6..01de6ee3d 100644 --- a/src/viced/host.c +++ b/src/viced/host.c @@ -450,7 +450,7 @@ h_gethostcps_r(register struct host *host, register afs_int32 now) slept ? (host->cpsCall = FT_ApproxTime()) : (host->cpsCall = now); H_UNLOCK; - code = pr_GetHostCPS(ntohl(host->host), &host->hcps); + code = pr_GetHostCPS(host->host, &host->hcps); H_LOCK; if (code) { /*