]> git.sur5r.net Git - openldap/commitdiff
fix length
authorPierangelo Masarati <ando@openldap.org>
Tue, 18 Nov 2008 00:12:22 +0000 (00:12 +0000)
committerPierangelo Masarati <ando@openldap.org>
Tue, 18 Nov 2008 00:12:22 +0000 (00:12 +0000)
servers/slapd/overlays/dynlist.c

index 3a03c6a8df4803731977e42656654f57e932859c..9edb2b5e6094adfac01c83e460758a24f45c3f65 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_len );
+                                       dli->dli_oc->soc_cname.bv_len );
 
                                for ( dlm = dli->dli_dlm; dlm; dlm = dlm->dlm_next ) {
                                        ptr[ 0 ] = ' ';