From: Jan Synacek Date: Wed, 15 Apr 2015 06:53:39 +0000 (+0200) Subject: ITS#8105 back-perl: correctly convert perlModuleConfig X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=25bbf116ad48c8ee98b9f8997b2eae07ddb5acdd;p=openldap ITS#8105 back-perl: correctly convert perlModuleConfig perlModuleConfig lines are not converted when using slaptest -f -F. --- diff --git a/servers/slapd/back-perl/config.c b/servers/slapd/back-perl/config.c index 873a365f07..83acd935a6 100644 --- a/servers/slapd/back-perl/config.c +++ b/servers/slapd/back-perl/config.c @@ -221,6 +221,9 @@ perl_cf( /* Put all arguments on the perl stack */ for( args = 1; args < c->argc; args++ ) { XPUSHs(sv_2mortal(newSVpv(c->argv[args], 0))); + + ber_str2bv( c->argv[args], 0, 0, &bv ); + value_add_one( &pb->pb_module_config, &bv ); } PUTBACK ;