]> git.sur5r.net Git - openldap/commitdiff
NUL at end of entry not needed any more
authorHoward Chu <hyc@openldap.org>
Sun, 8 May 2005 01:12:01 +0000 (01:12 +0000)
committerHoward Chu <hyc@openldap.org>
Sun, 8 May 2005 01:12:01 +0000 (01:12 +0000)
servers/slapd/entry.c

index eb75f0bbc90b3d60c0df3a4cbe31f01a1ebaa40d..ffef1579404fb11023bd3807d16b0420f36e14e2 100644 (file)
@@ -555,7 +555,6 @@ void entry_partsize(Entry *e, ber_len_t *plen,
                        len += entry_lenlen(0); /* 0 nvals */
                }
        }
-       len += entry_lenlen(0); /* NUL byte at end */
        len += entry_lenlen(nat);
        len += entry_lenlen(nval);
        *plen = len;