Merge in select_backend dn separator check patch from devel.

This commit is contained in:
Randy Kunkee 2001-04-05 23:52:26 +00:00
parent b20333f911
commit 632bb0a117

View File

@ -446,10 +446,12 @@ select_backend(
continue;
}
if ( len < dnlen && DN_SEPARATOR( dn[(dnlen-len)-1] ) ) {
if ( (len < dnlen) && !(DN_SEPARATOR( dn[(dnlen-len)-1] )) ) {
/* make sure we have a separator */
continue;
}
if ( strcmp( backends[i].be_nsuffix[j], &dn[dnlen-len] ) == 0 ) {
if( be == NULL ) {