mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-04-18 15:20:35 +08:00
Fix empty AND/OR search list bug
This commit is contained in:
parent
9a0964174e
commit
fc6c7fefcc
@ -583,7 +583,8 @@ main( int argc, char **argv )
|
||||
}
|
||||
|
||||
if (( argc - optind < 1 ) ||
|
||||
( strchr( argv[optind], '=' ) == NULL ) )
|
||||
( *argv[optind] != '(' /*')'*/ &&
|
||||
( strchr( argv[optind], '=' ) == NULL ) ) )
|
||||
{
|
||||
filtpattern = "(objectclass=*)";
|
||||
} else {
|
||||
|
Loading…
x
Reference in New Issue
Block a user