]> git.sur5r.net Git - openldap/commitdiff
Fix prev commit
authorQuanah Gibson-Mount <quanah@openldap.org>
Mon, 17 Nov 2008 23:45:20 +0000 (23:45 +0000)
committerQuanah Gibson-Mount <quanah@openldap.org>
Mon, 17 Nov 2008 23:45:20 +0000 (23:45 +0000)
servers/slapd/overlays/dynlist.c

index deca8dce9fe035f2928b65a06b291e82322f500e..3a03c6a8df4803731977e42656654f57e932859c 100644 (file)
@@ -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 ] = ' ';