Commit 69be5fd6 authored by Howard Chu's avatar Howard Chu
Browse files

ITS#5057 fix AVA_Sort

parent d918bc99
...@@ -249,7 +249,7 @@ AVA_Sort( LDAPRDN rdn, int iAVA ) ...@@ -249,7 +249,7 @@ AVA_Sort( LDAPRDN rdn, int iAVA )
a = strcmp( ava_in->la_attr.bv_val, ava->la_attr.bv_val ); a = strcmp( ava_in->la_attr.bv_val, ava->la_attr.bv_val );
if ( a > 0 ) { if ( a > 0 ) {
break; continue;
} }
while ( a == 0 ) { while ( a == 0 ) {
...@@ -292,8 +292,6 @@ AVA_Sort( LDAPRDN rdn, int iAVA ) ...@@ -292,8 +292,6 @@ AVA_Sort( LDAPRDN rdn, int iAVA )
rdn[ j ] = rdn[ j - 1 ]; rdn[ j ] = rdn[ j - 1 ];
} }
rdn[ i ] = ava_in; rdn[ i ] = ava_in;
return;
} }
} }
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment