From: Howard Chu Date: Mon, 1 Nov 1999 23:23:41 +0000 (+0000) Subject: Fix broken patch to v2ref X-Git-Tag: UCDATA_2_4~255 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=af87072275a76504feaf4d2f317ea8df9d9c066f;p=openldap Fix broken patch to v2ref --- diff --git a/servers/slapd/result.c b/servers/slapd/result.c index 78b5f7d99c..fbb668baec 100644 --- a/servers/slapd/result.c +++ b/servers/slapd/result.c @@ -37,6 +37,7 @@ static char *v2ref( struct berval **ref, const char *text ) v2[len++] = '\n'; } strcpy( v2+len, "Referral:" ); + len += sizeof("Referral:"); for( i=0; ref[i] != NULL; i++ ) { v2 = ch_realloc( v2, len + ref[i]->bv_len + 1 );