Commit 582ee967 authored by Pierangelo Masarati's avatar Pierangelo Masarati
Browse files

silence warning

parent 674c98fa
......@@ -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;
......
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