From: Howard Chu Date: Mon, 7 Apr 2003 03:43:12 +0000 (+0000) Subject: Fix backglue crash X-Git-Tag: AUTOCONF_2_57~37 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=8db24ce9e8ef7b53272b6a9f046a776c637afef2;p=openldap Fix backglue crash --- diff --git a/servers/slapd/result.c b/servers/slapd/result.c index 4d2dbe7582..3eb6080d44 100644 --- a/servers/slapd/result.c +++ b/servers/slapd/result.c @@ -421,6 +421,8 @@ slap_send_ldap_result( Operation *op, SlapReply *rs ) const char *otext = rs->sr_text; BerVarray oref = rs->sr_ref; + rs->sr_type = REP_RESULT; + assert( !LDAP_API_ERROR( rs->sr_err ) && ( rs->sr_err >= 0 )); #ifdef NEW_LOGGING