an int for referencing array.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12462
dc483132-0cff-0310-8789-
dd5450dbe970
+2000-06-28 Ezra Peisach <epeisach@mit.edu>
+
+ * iter-test.c (main): Code was using ovsec_kadm_ret_t in place of
+ an int for referencing array.
+
2000-05-09 Ken Raeburn <raeburn@mit.edu>
* api.2/chpass-principal-v2.exp (test200): Expect an additional
ovsec_kadm_ret_t ret;
void *server_handle;
char **names;
- int count, princ;
+ int count, princ, i;
if (argc != 3) {
fprintf(stderr, "Usage: %s [-princ|-pol] exp\n", argv[0]);
exit(1);
}
- for (ret = 0; ret < count; ret++)
- printf("%d: %s\n", ret, names[ret]);
+ for (i = 0; i < count; i++)
+ printf("%d: %s\n", i, names[i]);
ovsec_kadm_free_name_list(server_handle, names, count);