forked from pool/openldap2
18 lines
561 B
Plaintext
18 lines
561 B
Plaintext
|
Index: servers/slapd/bconfig.c
|
||
|
===================================================================
|
||
|
RCS file: /repo/OpenLDAP/pkg/ldap/servers/slapd/bconfig.c,v
|
||
|
retrieving revision 1.341
|
||
|
retrieving revision 1.342
|
||
|
diff -u -r1.341 -r1.342
|
||
|
--- servers/slapd/bconfig.c 30 Jun 2008 21:16:02 -0000 1.341
|
||
|
+++ servers/slapd/bconfig.c 4 Sep 2008 11:56:31 -0000 1.342
|
||
|
@@ -3881,7 +3881,7 @@
|
||
|
if ( isconfig && index == -1 ) {
|
||
|
index = 0;
|
||
|
}
|
||
|
- if ( !isfrontend && index == -1 ) {
|
||
|
+ if (( !isfrontend && index == -1 ) || ( index > nsibs ) ){
|
||
|
index = nsibs;
|
||
|
}
|
||
|
|