mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-04-18 15:20:35 +08:00
Don't ignore attribute list when -S is specified.
This commit is contained in:
parent
4abcfca8f5
commit
97db0eb716
@ -620,7 +620,7 @@ main( int argc, char **argv )
|
||||
filtpattern = strdup( argv[optind++] );
|
||||
}
|
||||
|
||||
if ( (argv[optind] != NULL) && (sortattr == NULL || *sortattr == '\0') ) {
|
||||
if ( argv[optind] != NULL ) {
|
||||
attrs = &argv[optind];
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user