]> git.sur5r.net Git - openldap/commitdiff
Fix backglue crash
authorHoward Chu <hyc@openldap.org>
Mon, 7 Apr 2003 03:43:12 +0000 (03:43 +0000)
committerHoward Chu <hyc@openldap.org>
Mon, 7 Apr 2003 03:43:12 +0000 (03:43 +0000)
servers/slapd/result.c

index 4d2dbe758251914ae00ca95562022090c4686dc0..3eb6080d44cb8aa092f5d4928c56a264d9eb77d7 100644 (file)
@@ -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