]> git.sur5r.net Git - openldap/blobdiff - servers/slapd/compare.c
fix previous commit
[openldap] / servers / slapd / compare.c
index 38e9448d040883f49bea220b9cf5f2290f500c3f..d43af1c0164130907484859a7659e3c39a5e40a7 100644 (file)
@@ -47,7 +47,11 @@ do_compare(
        struct berval dn = BER_BVNULL;
        struct berval desc = BER_BVNULL;
        struct berval value = BER_BVNULL;
+#ifdef LDAP_COMP_MATCH
        AttributeAssertion ava = { NULL, BER_BVNULL, NULL };
+#else
+       AttributeAssertion ava = { NULL, BER_BVNULL };
+#endif
 
        ava.aa_desc = NULL;