From a043d4d3563ca594625d1249637e1d5b62ef8550 Mon Sep 17 00:00:00 2001 From: Hallvard Furuseth Date: Sun, 17 Jul 2005 11:47:00 +0000 Subject: [PATCH] Fix typo: Scope "base" was only matched properly on 32-bit hosts. --- clients/tools/ldapsearch.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.39.5