make sure size limits are passed to ldapsearch

This commit is contained in:
Pierangelo Masarati 2011-08-22 09:02:02 -06:00
parent 15987caa11
commit 72e8a15068

View File

@ -1229,7 +1229,7 @@ getNextPage:
if ( infile == NULL ) { if ( infile == NULL ) {
rc = dosearch( ld, base, scope, NULL, filtpattern, rc = dosearch( ld, base, scope, NULL, filtpattern,
attrs, attrsonly, NULL, NULL, NULL, -1 ); attrs, attrsonly, NULL, NULL, NULL, sizelimit );
} else { } else {
rc = 0; rc = 0;
@ -1242,7 +1242,7 @@ getNextPage:
first = 0; first = 0;
} }
rc1 = dosearch( ld, base, scope, filtpattern, line, rc1 = dosearch( ld, base, scope, filtpattern, line,
attrs, attrsonly, NULL, NULL, NULL, -1 ); attrs, attrsonly, NULL, NULL, NULL, sizelimit );
if ( rc1 != 0 ) { if ( rc1 != 0 ) {
rc = rc1; rc = rc1;