]> git.sur5r.net Git - openldap/commitdiff
Fix typo: Scope "base" was only matched properly on 32-bit hosts.
authorHallvard Furuseth <hallvard@openldap.org>
Sun, 17 Jul 2005 11:47:00 +0000 (11:47 +0000)
committerHallvard Furuseth <hallvard@openldap.org>
Sun, 17 Jul 2005 11:47:00 +0000 (11:47 +0000)
clients/tools/ldapsearch.c

index add14c38aee7cb56a2fd54ec945584b12617697d..333ad6fe4f14cba6aa3faecd834a2c07482d89ec 100644 (file)
@@ -466,7 +466,7 @@ handle_private_option( int i )
                ++ldif;
                break;
        case 's':       /* search scope */
-               if ( strncasecmp( optarg, "base", sizeof("base"-1) ) == 0 ) {
+               if ( strncasecmp( optarg, "base", sizeof("base")-1 ) == 0 ) {
                        scope = LDAP_SCOPE_BASE;
                } else if ( strncasecmp( optarg, "one", sizeof("one")-1 ) == 0 ) {
                        scope = LDAP_SCOPE_ONELEVEL;