From af87072275a76504feaf4d2f317ea8df9d9c066f Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Mon, 1 Nov 1999 23:23:41 +0000 Subject: [PATCH] Fix broken patch to v2ref --- servers/slapd/result.c | 1 + 1 file changed, 1 insertion(+) 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 ); -- 2.39.5