diff options
author | Simo Sorce <ssorce@redhat.com> | 2011-04-13 15:21:32 -0400 |
---|---|---|
committer | Stephen Gallagher <sgallagh@redhat.com> | 2011-04-14 11:47:08 -0400 |
commit | aa1514886aee21bb89ac946a724d8cfcab4383ce (patch) | |
tree | e92ee726e5b2a954bd2acff8b383490c39ce4df2 /src/ldb_modules | |
parent | 9d5a7dec9eb1201f48f497b3f5355439977f0c88 (diff) | |
download | sssd-aa1514886aee21bb89ac946a724d8cfcab4383ce.tar.gz sssd-aa1514886aee21bb89ac946a724d8cfcab4383ce.tar.xz sssd-aa1514886aee21bb89ac946a724d8cfcab4383ce.zip |
memberof: fix calculation of replaced members
We were skipping the check on the next value in the added list when a match
was found for the currentr value being checked.
Diffstat (limited to 'src/ldb_modules')
-rw-r--r-- | src/ldb_modules/memberof.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ldb_modules/memberof.c b/src/ldb_modules/memberof.c index 9198e19b4..d779078b9 100644 --- a/src/ldb_modules/memberof.c +++ b/src/ldb_modules/memberof.c @@ -2734,6 +2734,7 @@ static int mbof_mod_process(struct mbof_mod_ctx *mod_ctx, bool *done) added->dns[j] = added->dns[j+1]; } added->num--; + i--; } } } |