]> git.sur5r.net Git - openldap/commitdiff
Don't ignore attribute list when -S is specified.
authorKurt Zeilenga <kurt@openldap.org>
Tue, 4 Sep 2001 06:06:44 +0000 (06:06 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Tue, 4 Sep 2001 06:06:44 +0000 (06:06 +0000)
clients/tools/ldapsearch.c

index 8de757e1aa7de7a4c52921f5849128a170a03c4d..2a569795c4c842cda7858c23c3e718e1625788d0 100644 (file)
@@ -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];
        }