make sure rs->sr_err is fine

This commit is contained in:
Pierangelo Masarati 2006-04-03 00:33:34 +00:00
parent c853ba1f0e
commit 070c9d9f07

View File

@ -303,6 +303,7 @@ retry:
rs->sr_attrs = op->ors_attrs;
rs->sr_operational_attrs = NULL;
rs->sr_flags = 0;
rs->sr_err = LDAP_SUCCESS;
rc = rs->sr_err = send_search_entry( op, rs );
if ( !BER_BVISNULL( &ent.e_name ) ) {
assert( ent.e_name.bv_val != bdn.bv_val );