Skip to content
Snippets Groups Projects
Commit 582ee967 authored by Pierangelo Masarati's avatar Pierangelo Masarati
Browse files

silence warning

parent 674c98fa
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment