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:46:35 -0400 |
commit | cb57eaf0f8a3fa44776e9b9ea5165304e719d17d (patch) | |
tree | 5cb7563b156de69004bcb4e38c5c0e7497f18fad | |
parent | 4fdee87041850d6052f655e3c75c5c0a515be207 (diff) | |
download | sssd-cb57eaf0f8a3fa44776e9b9ea5165304e719d17d.tar.gz sssd-cb57eaf0f8a3fa44776e9b9ea5165304e719d17d.tar.bz2 sssd-cb57eaf0f8a3fa44776e9b9ea5165304e719d17d.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.
-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 55c52fdc..41ea0b34 100644 --- a/src/ldb_modules/memberof.c +++ b/src/ldb_modules/memberof.c @@ -2727,6 +2727,7 @@ static int mbof_mod_process(struct mbof_mod_ctx *mod_ctx, bool *done) added->dns[j] = added->dns[j+1]; } added->num--; + i--; } } } |