summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/providers/ipa/ipa_netgroups.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/providers/ipa/ipa_netgroups.c b/src/providers/ipa/ipa_netgroups.c
index 78bcee1b..d61728f5 100644
--- a/src/providers/ipa/ipa_netgroups.c
+++ b/src/providers/ipa/ipa_netgroups.c
@@ -741,7 +741,7 @@ static int extract_members(TALLOC_CTX *mem_ctx,
const char **ret_array = NULL;
int process_count = 0;
int ret_count = 0;
- int ret, i;
+ int ret, i, pi;
key.type = HASH_KEY_STRING;
value.type = HASH_VALUE_PTR;
@@ -789,8 +789,8 @@ static int extract_members(TALLOC_CTX *mem_ctx,
ret_count++;
}
- for (i = 0; i < process_count; i++) {
- state->group = process[i];
+ for (pi = 0; pi < process_count; pi++) {
+ state->group = process[pi];
hash_iterate(lookup_table, extract_users, state);
if (state->entries_count > 0) {
ret_array = talloc_realloc(mem_ctx, ret_array, const char *,