diff --git a/servers/slapd/back-perl/search.c b/servers/slapd/back-perl/search.c index 565402172c..548a314870 100644 --- a/servers/slapd/back-perl/search.c +++ b/servers/slapd/back-perl/search.c @@ -94,7 +94,7 @@ perl_back_search( case SLAPD_SEND_SIZELIMIT: rs->sr_entry = NULL; rs->sr_err = LDAP_SIZELIMIT_EXCEEDED; - goto done2; + goto done; } }