mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-29 02:59:34 -05:00
Fix typo in assertion: j1 + j1 -> j1 + j2. (Not a crasher, just wrong test.)
Warning cleanup: signed meets unsigned.
This commit is contained in:
parent
e3bc5b64c6
commit
05bbe7833b
1 changed files with 1 additions and 1 deletions
|
|
@ -2613,7 +2613,7 @@ ldap_back_controls_add(
|
|||
goto done;
|
||||
}
|
||||
|
||||
assert( j1 + j1 <= sizeof( c )/sizeof(LDAPControl) );
|
||||
assert( j1 + j2 <= (int) (sizeof( c )/sizeof( c[0] )) );
|
||||
|
||||
if ( op->o_ctrls ) {
|
||||
for ( n = 0; op->o_ctrls[ n ]; n++ )
|
||||
|
|
|
|||
Loading…
Reference in a new issue