]> git.sur5r.net Git - openldap/commitdiff
ITS#6103: rev 1.331 followup for LDAP_CONNECTIONLESS
authorHallvard Furuseth <hallvard@openldap.org>
Thu, 4 Jun 2009 22:06:37 +0000 (22:06 +0000)
committerHallvard Furuseth <hallvard@openldap.org>
Thu, 4 Jun 2009 22:06:37 +0000 (22:06 +0000)
servers/slapd/result.c

index 8bbddad96f2e0af28c724dc3491b9ea4072e4686..4b222da6404cd16488ac425c06f736f913ddc1d9 100644 (file)
@@ -456,7 +456,7 @@ send_ldap_response(
                op->o_protocol == LDAP_VERSION2 )
        {
                rc = ber_printf( ber, "t{ess" /*"}"*/,
-                       rs->sr_tag, rs->sr_err,
+                       rs->sr_tag, rc,
                rs->sr_matched == NULL ? "" : rs->sr_matched,
                rs->sr_text == NULL ? "" : rs->sr_text );
        } else 
@@ -1669,4 +1669,3 @@ slap_attr_flags( AttributeName *an )
 
        return flags;
 }
-