From: Hallvard Furuseth Date: Sun, 17 Jul 2005 11:47:00 +0000 (+0000) Subject: Fix typo: Scope "base" was only matched properly on 32-bit hosts. X-Git-Tag: OPENLDAP_AC_BP~385 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=a043d4d3563ca594625d1249637e1d5b62ef8550;p=openldap Fix typo: Scope "base" was only matched properly on 32-bit hosts. --- diff --git a/clients/tools/ldapsearch.c b/clients/tools/ldapsearch.c index add14c38ae..333ad6fe4f 100644 --- a/clients/tools/ldapsearch.c +++ b/clients/tools/ldapsearch.c @@ -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;