From cb57eaf0f8a3fa44776e9b9ea5165304e719d17d Mon Sep 17 00:00:00 2001 From: Simo Sorce Date: Wed, 13 Apr 2011 15:21:32 -0400 Subject: 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. --- src/ldb_modules/memberof.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/ldb_modules') diff --git a/src/ldb_modules/memberof.c b/src/ldb_modules/memberof.c index 55c52fdcb..41ea0b344 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--; } } } -- cgit