From 1904db3fa3a0765f63ae4ecac23a8464818f1e9c Mon Sep 17 00:00:00 2001 From: Derrick Brashear Date: Wed, 29 Mar 2006 05:13:58 +0000 Subject: [PATCH] viced-gethostcps-byte-order-20060328 don't call GetHostCPS after swapping away from net byte order --- src/viced/host.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/viced/host.c b/src/viced/host.c index 5f2f940de..066036e27 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(ntohl(host->host), &host->hcps); + code = pr_GetHostCPS(host->host, &host->hcps); H_LOCK; if (code) { /* -- 2.39.5