Fix empty AND/OR search list bug

This commit is contained in:
Kurt Zeilenga 2000-07-27 23:08:48 +00:00
parent 9a0964174e
commit fc6c7fefcc

View File

@ -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 {