mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-20 22:59:34 -05:00
silence warning
This commit is contained in:
parent
674c98fa7d
commit
582ee9675f
1 changed files with 1 additions and 1 deletions
|
|
@ -347,7 +347,7 @@ do_base( char *uri, struct berval *base, struct berval *pass, int maxloop,
|
|||
char dn[BUFSIZ], *ptr;
|
||||
int j, k;
|
||||
|
||||
for ( k = 0; k < nrdns; k++) {
|
||||
for ( j = 0, k = 0; k < nrdns; k++) {
|
||||
j = rand() % nrdns;
|
||||
if ( base->bv_len + rdns[j].bv_len < sizeof( dn ) ) {
|
||||
break;
|
||||
|
|
|
|||
Loading…
Reference in a new issue