]> git.sur5r.net Git - openldap/commitdiff
Don't trim attribute list when -S is specified
authorKurt Zeilenga <kurt@openldap.org>
Fri, 7 Sep 2001 22:56:10 +0000 (22:56 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Fri, 7 Sep 2001 22:56:10 +0000 (22:56 +0000)
clients/tools/ldapsearch.c

index b68961c653d81e1a4bda2940ff8bd874fe41efae..693be137957f6c7e67ab24fea706022311d7b536 100644 (file)
@@ -617,7 +617,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];
        }