From: Howard Chu Date: Sun, 8 May 2005 01:12:01 +0000 (+0000) Subject: NUL at end of entry not needed any more X-Git-Tag: OPENLDAP_AC_BP~698 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=a1570f91852bbeecc1ead77950b2216ea4e22c44;p=openldap NUL at end of entry not needed any more --- diff --git a/servers/slapd/entry.c b/servers/slapd/entry.c index eb75f0bbc9..ffef157940 100644 --- a/servers/slapd/entry.c +++ b/servers/slapd/entry.c @@ -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;