From 62b81c9632ebab52546d9144f63cc421707c82a5 Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Thu, 9 Jun 2005 23:39:18 +0000 Subject: [PATCH] More for prev commit - break from mask_to_verbs when mask has gone to zero --- servers/slapd/config.c | 1 + 1 file changed, 1 insertion(+) diff --git a/servers/slapd/config.c b/servers/slapd/config.c index 62fc13e91e..b446dcc4ca 100644 --- a/servers/slapd/config.c +++ b/servers/slapd/config.c @@ -732,6 +732,7 @@ mask_to_verbs(slap_verbmasks *v, slap_mask_t m, BerVarray *bva) { if (( m & v[i].mask ) == v[i].mask ) { value_add_one( bva, &v[i].word ); m ^= v[i].mask; + if ( !m ) break; } } return 0; -- 2.39.5