]> git.sur5r.net Git - openldap/blobdiff - servers/slapd/configinfo.c
Implemented the open, init functions correctly
[openldap] / servers / slapd / configinfo.c
index 9ad40ebedb63a8282037afcc054f3022049157e9..df64293da42e206ad9e0f58336282c41176373b0 100644 (file)
@@ -39,11 +39,10 @@ config_info( Connection *conn, Operation *op )
        vals[1] = NULL;
 
        e = (Entry *) ch_calloc( 1, sizeof(Entry) );
-       /* initialize reader/writer lock */
-       entry_rdwr_init(e);
 
        e->e_attrs = NULL;
-       e->e_dn = strdup( SLAPD_CONFIG_DN );
+       e->e_dn = ch_strdup( SLAPD_CONFIG_DN );
+       e->e_private = NULL;
 
        for ( i = 0; i < nbackends; i++ ) {
                strcpy( buf, backends[i].be_type );