mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-21 03:10:25 +08:00
ITS#6686 Fix last commit (declaration after code)
This commit is contained in:
parent
f697a3ffed
commit
027b6812ee
@ -164,11 +164,13 @@ static int node_cmp( const void* val1, const void* val2 )
|
||||
{
|
||||
sort_node *sn1 = (sort_node *)val1;
|
||||
sort_node *sn2 = (sort_node *)val2;
|
||||
assert( sort_conns[sn1->sn_conn] && sort_conns[sn1->sn_conn][sn1->sn_session]
|
||||
&& sort_conns[sn1->sn_conn][sn1->sn_session]->so_ctrl );
|
||||
sort_ctrl *sc = sort_conns[sn1->sn_conn][sn1->sn_session]->so_ctrl;
|
||||
sort_ctrl *sc;
|
||||
MatchingRule *mr;
|
||||
int i, cmp = 0;
|
||||
assert( sort_conns[sn1->sn_conn]
|
||||
&& sort_conns[sn1->sn_conn][sn1->sn_session]
|
||||
&& sort_conns[sn1->sn_conn][sn1->sn_session]->so_ctrl );
|
||||
sc = sort_conns[sn1->sn_conn][sn1->sn_session]->so_ctrl;
|
||||
|
||||
for ( i=0; cmp == 0 && i<sc->sc_nkeys; i++ ) {
|
||||
if ( BER_BVISNULL( &sn1->sn_vals[i] )) {
|
||||
|
Loading…
Reference in New Issue
Block a user