fix sizelimit interaction with glue overlay (ITS#3724)

This commit is contained in:
Pierangelo Masarati 2005-05-13 13:10:33 +00:00
parent dfaffea154
commit 46387a12a9

View file

@ -378,8 +378,7 @@ really_bad:;
goto finish;
} else if ( rc == LDAP_RES_SEARCH_ENTRY ) {
if ( op->ors_slimit > 0 && rs->sr_nentries == op->ors_slimit )
{
if ( --op->ors_slimit == -1 ) {
ldap_msgfree( res );
res = NULL;