]> git.sur5r.net Git - openldap/commitdiff
Zero out rs->sr_err before send_search_entry
authorHoward Chu <hyc@openldap.org>
Wed, 7 Apr 2004 16:41:17 +0000 (16:41 +0000)
committerHoward Chu <hyc@openldap.org>
Wed, 7 Apr 2004 16:41:17 +0000 (16:41 +0000)
servers/slapd/back-bdb/search.c

index 34c4abe7e0c7ddca412208cbc9a2bd089f3a6cb1..fca2473719ee0eac4307c0060d1fa06aa36db16d 100644 (file)
@@ -1263,6 +1263,7 @@ id2entry_retry:
                                                rs->sr_attrs = sop->oq_search.rs_attrs;
                                                rs->sr_ctrls = NULL;
                                                rs->sr_flags = 0;
+                                               rs->sr_err = LDAP_SUCCESS;
                                                result = send_search_entry( sop, rs );
                                        }
                                }