From: Kurt Zeilenga Date: Wed, 14 Jun 2000 23:28:52 +0000 (+0000) Subject: Forgot continuation key prefix X-Git-Tag: LDBM_PRE_GIANT_RWLOCK~2642 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=4189b89d7a043d7417aef4ce61485c6dac1bff20;p=openldap Forgot continuation key prefix --- diff --git a/servers/slapd/back-ldbm/idl.c b/servers/slapd/back-ldbm/idl.c index 7d18956361..8a0d82d50b 100644 --- a/servers/slapd/back-ldbm/idl.c +++ b/servers/slapd/back-ldbm/idl.c @@ -23,6 +23,8 @@ static void cont_alloc( Datum cont, Datum key ) cont.dsize = 1 + sizeof(ID) + key.dsize; cont.dptr = ch_malloc( cont.dsize ); + * (unsigned char *) cont.dptr = SLAP_INDEX_CONT_PREFIX; + memcpy( &((unsigned char *)cont.dptr)[1 + sizeof(ID)], key.dptr, key.dsize ); }