From 33ea19e7ef2425d1d02e3263fcc12a7437c9d3dc Mon Sep 17 00:00:00 2001 From: Douglas Engert Date: Tue, 7 Dec 2004 06:07:20 +0000 Subject: [PATCH] STABLE14-ubik-calliter-pass-all-args-20041202 FIXES 16556 pass in all args to ubik_CallIter instead of doing (pseudo) varargs (cherry picked from commit 70df053245459ebb9b3874719fbc5229b94c114c) --- src/kauth/admin_tools.c | 1 + src/kauth/authclient.c | 2 +- src/libadmin/kas/afs_kasAdmin.c | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/kauth/admin_tools.c b/src/kauth/admin_tools.c index 4e9b4c237f..0a7c7d8a92 100644 --- a/src/kauth/admin_tools.c +++ b/src/kauth/admin_tools.c @@ -514,6 +514,7 @@ ka_islocked(char *name, char *instance, afs_uint32 * when) code = ubik_CallIter(KAM_LockStatus, conn, UPUBIKONLY, &count, name, instance, &tempwhen, /*spares */ 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0); if (code) { if (seriouserror(code)) diff --git a/src/kauth/authclient.c b/src/kauth/authclient.c index 7bf9503c2b..d3d75e17da 100644 --- a/src/kauth/authclient.c +++ b/src/kauth/authclient.c @@ -476,7 +476,7 @@ kawrap_ubik_Call(aproc, aclient, aflags, p1, p2, p3, p4, p5, p6, p7, p8) lcode = code; code = ubik_CallIter(aproc, aclient, aflags, &count, p1, p2, p3, p4, - p5, p6, p7, p8); + p5, p6, p7, p8, 0, 0, 0, 0, 0, 0, 0, 0); } while ((code == UNOQUORUM) || (code == UNOTSYNC) || (code == KALOCKED) || (code == -1)); diff --git a/src/libadmin/kas/afs_kasAdmin.c b/src/libadmin/kas/afs_kasAdmin.c index 8b48b34bc6..903d10ec4f 100644 --- a/src/libadmin/kas/afs_kasAdmin.c +++ b/src/libadmin/kas/afs_kasAdmin.c @@ -718,7 +718,7 @@ GetPrincipalLockStatus(const kas_server_p kaserver, const kas_identity_p who, tst = ubik_CallIter(KAM_LockStatus, kaserver->servers, UPUBIKONLY, &count, who->principal, who->instance, &locked, 0, - 0, 0, 0); + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0); if (tst == 0) { if (locked) { if ((locked < *lockedUntil) || !once) {