From 97db0eb716b9b8dcc86b6803ba0847620d92e905 Mon Sep 17 00:00:00 2001 From: Kurt Zeilenga Date: Tue, 4 Sep 2001 06:06:44 +0000 Subject: [PATCH] Don't ignore attribute list when -S is specified. --- clients/tools/ldapsearch.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/tools/ldapsearch.c b/clients/tools/ldapsearch.c index 8de757e1aa..2a569795c4 100644 --- a/clients/tools/ldapsearch.c +++ b/clients/tools/ldapsearch.c @@ -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]; } -- 2.39.5