]> git.sur5r.net Git - openldap/commitdiff
Fix prev commit
authorHoward Chu <hyc@openldap.org>
Fri, 13 Jul 2007 02:57:01 +0000 (02:57 +0000)
committerHoward Chu <hyc@openldap.org>
Fri, 13 Jul 2007 02:57:01 +0000 (02:57 +0000)
servers/slapd/backend.c

index 57eb0a0440bb1fc4eac7190a8abcc673fc84ed38..f072400eb34a58579fa6a81e1c1cc0a911cb3155 100644 (file)
@@ -663,7 +663,7 @@ select_backend(
                        if ( strcmp( be->be_nsuffix[j].bv_val,
                                &dn->bv_val[dnlen-len] ) == 0 )
                        {
-                               break;
+                               return be;
                        }
                }
        }