Fix typo: Scope "base" was only matched properly on 32-bit hosts.

This commit is contained in:
Hallvard Furuseth 2005-07-17 11:47:00 +00:00
parent 28256b4711
commit a043d4d356

View 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;