mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-03-01 14:15:49 +08:00
ITS#9382 ldapvc doesn't set any LDAP controls with -E
This commit is contained in:
parent
a44706f646
commit
171e0d89cd
@ -93,7 +93,6 @@ handle_private_option( int i )
|
||||
{
|
||||
switch ( i ) {
|
||||
char *control, *cvalue;
|
||||
int crit;
|
||||
case 'E': /* vc extension */
|
||||
if( protocol == LDAP_VERSION2 ) {
|
||||
fprintf( stderr, _("%s: -E incompatible with LDAPv%d\n"),
|
||||
@ -105,10 +104,8 @@ handle_private_option( int i )
|
||||
* [!]key[=value] parameters, e.g. -E !foo,bar=567
|
||||
*/
|
||||
|
||||
crit = 0;
|
||||
cvalue = NULL;
|
||||
if( optarg[0] == '!' ) {
|
||||
crit = 1;
|
||||
optarg++;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user