From: Pierangelo Masarati Date: Mon, 22 Aug 2011 15:02:02 +0000 (-0600) Subject: make sure size limits are passed to ldapsearch X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=72e8a15068e1353c34dc9c115722843afbf4eea8;p=openldap make sure size limits are passed to ldapsearch --- diff --git a/clients/tools/ldapsearch.c b/clients/tools/ldapsearch.c index f295c3e613..64568a70d2 100644 --- a/clients/tools/ldapsearch.c +++ b/clients/tools/ldapsearch.c @@ -1229,7 +1229,7 @@ getNextPage: if ( infile == NULL ) { rc = dosearch( ld, base, scope, NULL, filtpattern, - attrs, attrsonly, NULL, NULL, NULL, -1 ); + attrs, attrsonly, NULL, NULL, NULL, sizelimit ); } else { rc = 0; @@ -1242,7 +1242,7 @@ getNextPage: first = 0; } rc1 = dosearch( ld, base, scope, filtpattern, line, - attrs, attrsonly, NULL, NULL, NULL, -1 ); + attrs, attrsonly, NULL, NULL, NULL, sizelimit ); if ( rc1 != 0 ) { rc = rc1;