From: Derrick Brashear Date: Mon, 31 Jul 2006 18:42:20 +0000 (+0000) Subject: STABLE14-ubik-call-sucks-20060703 X-Git-Tag: openafs-stable-1_4_2b3~18 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=6629b2af2c18271289ce726e89b1a0165aa05664;p=packages%2Fo%2Fopenafs.git STABLE14-ubik-call-sucks-20060703 ubik_Call's pseudo-varargs construction is hideous put it out of its misery where possible --- diff --git a/src/viced/host.c b/src/viced/host.c index 6a1467282..0467361df 100644 --- a/src/viced/host.c +++ b/src/viced/host.c @@ -391,7 +391,7 @@ hpr_GetHostCPS(afs_int32 host, prlist *CPS) } over = 0; - code = ubik_Call(PR_GetHostCPS, uclient, 0, host, CPS, &over); + code = ubik_PR_GetHostCPS(uclient, 0, host, CPS, &over); if (code != PRSUCCESS) return code; if (over) { @@ -423,7 +423,7 @@ hpr_NameToId(namelist *names, idlist *ids) for (i = 0; i < names->namelist_len; i++) stolower(names->namelist_val[i]); - code = ubik_Call(PR_NameToID, uclient, 0, names, ids); + code = ubik_PR_NameToID(uclient, 0, names, ids); return code; #else return pr_NameToId(names, ids); @@ -443,7 +443,7 @@ hpr_IdToName(idlist *ids, namelist *names) assert(pthread_setspecific(viced_uclient_key, (void *)uclient) == 0); } - code = ubik_Call(PR_IDToName, uclient, 0, ids, names); + code = ubik_PR_IDToName(uclient, 0, ids, names); return code; #else return pr_IdToName(ids, names); @@ -465,7 +465,7 @@ hpr_GetCPS(afs_int32 id, prlist *CPS) } over = 0; - code = ubik_Call(PR_GetCPS, uclient, 0, id, CPS, &over); + code = ubik_PR_GetCPS(uclient, 0, id, CPS, &over); if (code != PRSUCCESS) return code; if (over) {