From: Pierangelo Masarati Date: Wed, 27 Apr 2005 02:38:55 +0000 (+0000) Subject: fix previous commit X-Git-Tag: OPENLDAP_AC_BP~783 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=12c32c3e6c4e34e8befda8fca0f3609cebaa6bb7;p=openldap fix previous commit --- diff --git a/libraries/liblber/memory.c b/libraries/liblber/memory.c index 5b4089fec2..904630fd30 100644 --- a/libraries/liblber/memory.c +++ b/libraries/liblber/memory.c @@ -728,6 +728,7 @@ ber_bvreplace_x( struct berval *dst, LDAP_CONST struct berval *src, void *ctx ) } AC_MEMCPY( dst->bv_val, src->bv_val, src->bv_len + 1 ); + dst->bv_len = src->bv_len; return dst; }