From 55d77a7a9586627ab466d477ecb1adf734aa99cb Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Thu, 19 Feb 2009 01:15:15 +0000 Subject: [PATCH] Fix spurious sizelimit exceeded err --- servers/slapd/overlays/pcache.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/servers/slapd/overlays/pcache.c b/servers/slapd/overlays/pcache.c index 5f3ce24004..5feb7e1bee 100644 --- a/servers/slapd/overlays/pcache.c +++ b/servers/slapd/overlays/pcache.c @@ -1976,7 +1976,7 @@ pcache_op_cleanup( Operation *op, SlapReply *rs ) { Entry *e; /* don't return more entries than requested by the client */ - if ( si->slimit && rs->sr_nentries >= si->slimit ) { + if ( si->slimit > 0 && rs->sr_nentries >= si->slimit ) { si->slimit_exceeded = 1; } -- 2.39.5