From: Howard Chu Date: Sat, 1 Dec 2007 19:08:30 +0000 (+0000) Subject: Shrink presence key X-Git-Tag: OPENLDAP_REL_ENG_2_4_9~20^2~369 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=89b03a7db72522199bca0dee98b4fe3ee35b8a2e;p=openldap Shrink presence key --- diff --git a/servers/slapd/back-bdb/index.c b/servers/slapd/back-bdb/index.c index 8c652bd086..64dc1b5506 100644 --- a/servers/slapd/back-bdb/index.c +++ b/servers/slapd/back-bdb/index.c @@ -25,8 +25,8 @@ #include "back-bdb.h" #include "lutil_hash.h" -static char presence_keyval[LUTIL_HASH_BYTES] = {0,0,0,1}; -static struct berval presence_key = {LUTIL_HASH_BYTES, presence_keyval}; +static char presence_keyval[] = {0,0}; +static struct berval presence_key = BER_BVC(presence_keyval); AttrInfo *bdb_index_mask( Backend *be,