]> git.sur5r.net Git - openldap/commitdiff
Forgot continuation key prefix
authorKurt Zeilenga <kurt@openldap.org>
Wed, 14 Jun 2000 23:28:52 +0000 (23:28 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Wed, 14 Jun 2000 23:28:52 +0000 (23:28 +0000)
servers/slapd/back-ldbm/idl.c

index 7d18956361435b776a8467c62ff17ab0284e9684..8a0d82d50bfd6ef43e9b60dbdf37b4bcf7b8a193 100644 (file)
@@ -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 );
 }