X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;ds=sidebyside;f=servers%2Fslapd%2Fback-perl%2Finit.c;h=fe79d9a08c9521ee4464d80345b110124f2ae751;hb=b3c8a976ec84572bef54624de74ba6677c053e53;hp=16426708f10af0ddc39d8870da4fda71ad543e1c;hpb=bf7194aba93c71a56327165acc6bab24bd35cafb;p=openldap diff --git a/servers/slapd/back-perl/init.c b/servers/slapd/back-perl/init.c index 16426708f1..fe79d9a08c 100644 --- a/servers/slapd/back-perl/init.c +++ b/servers/slapd/back-perl/init.c @@ -35,13 +35,10 @@ perl_back_initialize( BackendInfo *bi ) { - char *embedding[] = { "", "-e", "0" }; - - bi->bi_open = perl_back_open; bi->bi_config = 0; bi->bi_close = perl_back_close; - bi->bi_destroy = perl_back_destroy; + bi->bi_destroy = 0; bi->bi_db_init = perl_back_db_init; bi->bi_db_config = perl_back_db_config; @@ -74,6 +71,8 @@ perl_back_open( BackendInfo *bi ) { + char *embedding[] = { "", "-e", "0" }; + Debug( LDAP_DEBUG_TRACE, "perl backend open\n", 0, 0, 0 ); if( PERL_INTERPRETER != NULL ) {