cleanup:
slapi_pblock_set( pb, SLAPI_PLUGIN_INTOP_RESULT, (void *)rs.sr_err );
+ slapi_pblock_set( pb, SLAPI_X_INTOP_RESULT_CALLBACK, NULL );
+ slapi_pblock_set( pb, SLAPI_X_INTOP_SEARCH_ENTRY_CALLBACK, NULL );
+ slapi_pblock_set( pb, SLAPI_X_INTOP_REFERRAL_ENTRY_CALLBACK, NULL );
+ slapi_pblock_set( pb, SLAPI_X_INTOP_CALLBACK_DATA, NULL );
if ( freeFilter && filter != NULL )
slapi_filter_free( filter, 1 );
return;
}
- if (op->o_tag == LDAP_REQ_SEARCH)
+ if ( op->o_tag == LDAP_REQ_SEARCH )
rs.sr_nentries = nentries;
send_ldap_result( op, &rs );