From: Howard Chu Date: Fri, 13 Jul 2007 02:57:01 +0000 (+0000) Subject: Fix prev commit X-Git-Tag: OPENLDAP_REL_ENG_2_4_MP~332 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=974ca7b3663f04c753d567a4c26b7ba28b22995e;p=openldap Fix prev commit --- diff --git a/servers/slapd/backend.c b/servers/slapd/backend.c index 57eb0a0440..f072400eb3 100644 --- a/servers/slapd/backend.c +++ b/servers/slapd/backend.c @@ -663,7 +663,7 @@ select_backend( if ( strcmp( be->be_nsuffix[j].bv_val, &dn->bv_val[dnlen-len] ) == 0 ) { - break; + return be; } } }