Change howmany because of Ultrix
authorPaul Park <pjpark@mit.edu>
Fri, 12 May 1995 20:11:06 +0000 (20:11 +0000)
committerPaul Park <pjpark@mit.edu>
Fri, 12 May 1995 20:11:06 +0000 (20:11 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5805 dc483132-0cff-0310-8789-dd5450dbe970

src/kadmin/v5server/admin.c

index 137eb0dede8401aca594b427214b4982fc947859..d38de0aac8d5782394c0773160f2cc08583623bf 100644 (file)
@@ -373,16 +373,16 @@ admin_add_modify(kcontext, debug_level, ticket, nargs, arglist,
            if (!(kret = krb5_parse_name(kcontext,
                                         arglist[0].data,
                                         &principal))) {
-               int             howmany;
+               int             how_many;
                krb5_boolean    more;
 
-               howmany = 1;
+               how_many = 1;
 
                /* Try to get the entry */
                kret = krb5_db_get_principal(kcontext,
                                             principal,
                                             &cur_dbentry,
-                                            &howmany,
+                                            &how_many,
                                             &more);
 
                /*
@@ -390,8 +390,8 @@ admin_add_modify(kcontext, debug_level, ticket, nargs, arglist,
                 * If we're adding, there'd better not be an entry.
                 */
                if (!kret &&
-                   ((should_exist && howmany) ||
-                    (!should_exist && !howmany))) {
+                   ((should_exist && how_many) ||
+                    (!should_exist && !how_many))) {
 
                    /* We need to have a principal */
                    new_dbentry.principal = principal;
@@ -661,18 +661,18 @@ admin_delete_rename(kcontext, debug_level, ticket, original, new)
            if (!(kret = krb5_parse_name(kcontext,
                                         original,
                                         &orig_principal))) {
-               int             howmany;
+               int             how_many;
                krb5_boolean    more;
 
-               howmany = 1;
+               how_many = 1;
 
                /* Try to get the entry */
                if (!(kret = krb5_db_get_principal(kcontext,
                                                   orig_principal,
                                                   &orig_entry,
-                                                  &howmany,
+                                                  &how_many,
                                                   &more))
-                   && howmany) {
+                   && how_many) {
 
                    /*
                     * We've got the entry.  If we're renaming, we have