mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-30 13:30:57 +08:00
ITS#5057 fix AVA_Sort
This commit is contained in:
parent
d918bc9983
commit
69be5fd675
@ -249,7 +249,7 @@ AVA_Sort( LDAPRDN rdn, int iAVA )
|
||||
a = strcmp( ava_in->la_attr.bv_val, ava->la_attr.bv_val );
|
||||
|
||||
if ( a > 0 ) {
|
||||
break;
|
||||
continue;
|
||||
}
|
||||
|
||||
while ( a == 0 ) {
|
||||
@ -292,8 +292,6 @@ AVA_Sort( LDAPRDN rdn, int iAVA )
|
||||
rdn[ j ] = rdn[ j - 1 ];
|
||||
}
|
||||
rdn[ i ] = ava_in;
|
||||
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user