From 4189b89d7a043d7417aef4ce61485c6dac1bff20 Mon Sep 17 00:00:00 2001 From: Kurt Zeilenga Date: Wed, 14 Jun 2000 23:28:52 +0000 Subject: [PATCH] Forgot continuation key prefix --- servers/slapd/back-ldbm/idl.c | 2 ++ 1 file changed, 2 insertions(+) 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 ); } -- 2.39.5