From 911376e5433bbd40e4b7a83a4bb3d626142f5b8e Mon Sep 17 00:00:00 2001 From: Quanah Gibson-Mount Date: Mon, 17 Nov 2008 23:45:20 +0000 Subject: [PATCH] Fix prev commit --- servers/slapd/overlays/dynlist.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/servers/slapd/overlays/dynlist.c b/servers/slapd/overlays/dynlist.c index deca8dce9f..3a03c6a8df 100644 --- a/servers/slapd/overlays/dynlist.c +++ b/servers/slapd/overlays/dynlist.c @@ -1260,7 +1260,7 @@ dl_cfgen( ConfigArgs *c ) *ptr++ = ' '; ptr = lutil_strncopy( ptr, dli->dli_oc->soc_cname.bv_val, - dli->dli_ad->ad_cname.bv_val ); + dli->dli_ad->ad_cname.bv_len ); for ( dlm = dli->dli_dlm; dlm; dlm = dlm->dlm_next ) { ptr[ 0 ] = ' '; -- 2.39.5