mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-04-06 15:00:40 +08:00
More for ITS#8105
Fix multiple argument handling. For example: perlModuleConfig homedir /home/jsynacek should be converted to olcPerlModuleConfig: homedir /home/jsynacek and not to olcPerlModuleConfig: homedir olcPerlModuleConfig: /home/jsynacek
This commit is contained in:
parent
bd1068204d
commit
fb1bf1caa8
@ -219,12 +219,11 @@ perl_cf(
|
||||
XPUSHs( pb->pb_obj_ref );
|
||||
|
||||
/* Put all arguments on the perl stack */
|
||||
for( args = 1; args < c->argc; args++ ) {
|
||||
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 );
|
||||
}
|
||||
ber_str2bv( c->line + STRLENOF("perlModuleConfig "), 0, 0, &bv );
|
||||
value_add_one( &pb->pb_module_config, &bv );
|
||||
|
||||
PUTBACK ;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user