From: Kurt Zeilenga Date: Tue, 4 Sep 2001 06:06:44 +0000 (+0000) Subject: Don't ignore attribute list when -S is specified. X-Git-Tag: LDBM_PRE_GIANT_RWLOCK~1127 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=97db0eb716b9b8dcc86b6803ba0847620d92e905;p=openldap Don't ignore attribute list when -S is specified. --- 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]; }