]> git.sur5r.net Git - openldap/blobdiff - servers/slapd/connection.c
Commit of the Proxy Cache contribution (ITS#2062)
[openldap] / servers / slapd / connection.c
index 64ad6a846d60f57c0d77723d5f73d05ce11db742..20da8a2e5cbbf9d14e759e065178bc0d76e75797 100644 (file)
@@ -1462,7 +1462,7 @@ connection_input(
                        return 1;
                }
 
-               if (conn->c_protocol == LDAP_VERSION2) {
+               if (op->o_protocol == LDAP_VERSION2) {
                        rc = ber_printf(op->o_res_ber, "{is{" /*}}*/, op->o_msgid, "");
                        if (rc == -1) {
 #ifdef NEW_LOGGING